Class: Refinery::Videos::Version
- Inherits:
-
Object
- Object
- Refinery::Videos::Version
- Defined in:
- lib/refinery/videos/version.rb
Class Attribute Summary collapse
-
.build ⇒ Object
readonly
Returns the value of attribute build.
-
.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
.build ⇒ Object (readonly)
Returns the value of attribute build.
10 11 12 |
# File 'lib/refinery/videos/version.rb', line 10 def build @build end |
.major ⇒ Object (readonly)
Returns the value of attribute major.
10 11 12 |
# File 'lib/refinery/videos/version.rb', line 10 def major @major end |
.minor ⇒ Object (readonly)
Returns the value of attribute minor.
10 11 12 |
# File 'lib/refinery/videos/version.rb', line 10 def minor @minor end |
.tiny ⇒ Object (readonly)
Returns the value of attribute tiny.
10 11 12 |
# File 'lib/refinery/videos/version.rb', line 10 def tiny @tiny end |
Class Method Details
.to_s ⇒ Object
12 13 14 |
# File 'lib/refinery/videos/version.rb', line 12 def to_s [@major, @minor, @tiny, @build].compact.join('.') end |