Class: Hockeylog::Version

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number, notes) ⇒ Version

Returns a new instance of Version.



16
17
18
19
# File 'lib/hockeylog.rb', line 16

def initialize(number, notes)
  @number = number
  @notes = notes
end

Instance Attribute Details

#notesObject (readonly)

Returns the value of attribute notes.



15
16
17
# File 'lib/hockeylog.rb', line 15

def notes
  @notes
end

#numberObject (readonly)

Returns the value of attribute number.



15
16
17
# File 'lib/hockeylog.rb', line 15

def number
  @number
end