method
add
v4.0.2 -
Show latest stable
- Class:
Rails::Paths::Root
add(path, options = {})public
No documentation available.
# File railties/lib/rails/paths.rb, line 58
def add(path, options = {})
with = Array(options.fetch(:with, path))
@root[path] = Path.new(self, path, with, options)
end