Class: Refinery::Whatson::Version
- Inherits:
-
Object
- Object
- Refinery::Whatson::Version
- Defined in:
- lib/refinery/whatson/version.rb
Class Attribute Summary collapse
-
.major ⇒ Object
readonly
Returns the value of attribute major.
-
.minor ⇒ Object
readonly
Returns the value of attribute minor.
-
.tiny ⇒ Object
readonly
Returns the value of attribute tiny.
Class Method Summary collapse
Class Attribute Details
.major ⇒ Object (readonly)
Returns the value of attribute major.
9 10 11 |
# File 'lib/refinery/whatson/version.rb', line 9 def major @major end |
.minor ⇒ Object (readonly)
Returns the value of attribute minor.
9 10 11 |
# File 'lib/refinery/whatson/version.rb', line 9 def minor @minor end |
.tiny ⇒ Object (readonly)
Returns the value of attribute tiny.
9 10 11 |
# File 'lib/refinery/whatson/version.rb', line 9 def tiny @tiny end |
Class Method Details
.to_s ⇒ Object
11 12 13 |
# File 'lib/refinery/whatson/version.rb', line 11 def to_s [@major, @minor, @tiny].compact.join('.') end |