instance method
[]=
Ruby on Rails 7.2.3
Since v3.1.12Signature
[]=(path, value)
No documentation comment.
Parameters
-
pathreq -
valuereq
Source
# File railties/lib/rails/paths.rb, line 59
def []=(path, value)
glob = self[path] ? self[path].glob : nil
add(path, with: value, glob: glob)
end
Defined in railties/lib/rails/paths.rb line 59
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Paths::Root