instance method
generate_from
Ruby on Rails 1.3.4
Since v1.0.4 Last seen in v1.3.4Signature
generate_from(controllers_path)
No documentation comment.
Parameters
-
controllers_pathreq
Source
# File lib/stimulus/manifest.rb, line 4
def generate_from(controllers_path)
manifest = extract_controllers_from(controllers_path).collect do |controller_path|
import_and_register_controller(controllers_path, controller_path)
end
manifest.uniq
end
Defined in lib/stimulus/manifest.rb line 4
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Stimulus::Manifest