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