Class: Nero::Ref
- Inherits:
-
Object
- Object
- Nero::Ref
- Defined in:
- lib/nero/ref.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Ref
constructor
A new instance of Ref.
Constructor Details
#initialize(path) ⇒ Ref
Returns a new instance of Ref.
7 |
# File 'lib/nero/ref.rb', line 7 def initialize(path) = @path = path.split(".") |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/nero/ref.rb', line 5 def path @path end |