Class: Nero::Ref

Inherits:
Object
  • Object
show all
Defined in:
lib/nero/ref.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject (readonly)

Returns the value of attribute path.



5
6
7
# File 'lib/nero/ref.rb', line 5

def path
  @path
end