class method
self.new
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
self.new(path)
No documentation comment.
Parameters
-
pathreq
Source
# File railties/lib/rails/paths.rb, line 49
def initialize(path)
raise "Argument should be a String of the physical root path" if path.is_a?(Array)
@current = nil
@path = path
@root = self
super()
end
Defined in railties/lib/rails/paths.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Paths::Root