instance method
add
Ruby on Rails 3.1.12
Since v3.1.12Signature
add(path, options={})
No documentation comment.
Parameters
-
pathreq -
optionsopt = {}
Source
# File railties/lib/rails/paths.rb, line 82
def add(path, options={})
with = options[:with] || path
self[path] = Path.new(self, path, with, options)
end
Defined in railties/lib/rails/paths.rb line 82
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Paths::Root