Class: Vagabond::Version
- Inherits:
-
Gem::Version
- Object
- Gem::Version
- Vagabond::Version
- Defined in:
- lib/vagabond/version.rb
Instance Attribute Summary collapse
-
#codename ⇒ Object
readonly
Returns the value of attribute codename.
Instance Method Summary collapse
-
#initialize(v, name) ⇒ Version
constructor
A new instance of Version.
Constructor Details
#initialize(v, name) ⇒ Version
Returns a new instance of Version.
5 6 7 8 |
# File 'lib/vagabond/version.rb', line 5 def initialize(v, name) @codename = name super(v) end |
Instance Attribute Details
#codename ⇒ Object (readonly)
Returns the value of attribute codename.
4 5 6 |
# File 'lib/vagabond/version.rb', line 4 def codename @codename end |