Class: Hockeylog::Version
- Inherits:
-
Object
- Object
- Hockeylog::Version
- Defined in:
- lib/hockeylog.rb
Instance Attribute Summary collapse
-
#notes ⇒ Object
readonly
Returns the value of attribute notes.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
Instance Method Summary collapse
-
#initialize(number, notes) ⇒ Version
constructor
A new instance of Version.
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
#notes ⇒ Object (readonly)
Returns the value of attribute notes.
15 16 17 |
# File 'lib/hockeylog.rb', line 15 def notes @notes end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
15 16 17 |
# File 'lib/hockeylog.rb', line 15 def number @number end |