Class: Framework::Root
- Inherits:
-
String
- Object
- String
- Framework::Root
- Defined in:
- lib/framework/root.rb
Instance Method Summary collapse
-
#initialize(path = Dir.pwd) ⇒ Root
constructor
A new instance of Root.
- #inspect ⇒ Object
- #join(*args) ⇒ String
- #to_s ⇒ Object
Constructor Details
#initialize(path = Dir.pwd) ⇒ Root
Returns a new instance of Root.
5 6 7 8 |
# File 'lib/framework/root.rb', line 5 def initialize(path=Dir.pwd) super(path) self.freeze end |
Instance Method Details
#inspect ⇒ Object
16 17 18 |
# File 'lib/framework/root.rb', line 16 def inspect to_s end |
#join(*args) ⇒ String
12 13 14 |
# File 'lib/framework/root.rb', line 12 def join(*args) File.join(self, *args) end |
#to_s ⇒ Object
20 21 22 |
# File 'lib/framework/root.rb', line 20 def to_s self end |