Class: FLV::Edit::Version
- Inherits:
-
Struct
- Object
- Struct
- FLV::Edit::Version
- Defined in:
- lib/flvedit/version.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#major ⇒ Object
Returns the value of attribute major.
-
#minor ⇒ Object
Returns the value of attribute minor.
-
#patch ⇒ Object
Returns the value of attribute patch.
Instance Method Summary collapse
Instance Attribute Details
#major ⇒ Object
Returns the value of attribute major
5 6 7 |
# File 'lib/flvedit/version.rb', line 5 def major @major end |
#minor ⇒ Object
Returns the value of attribute minor
5 6 7 |
# File 'lib/flvedit/version.rb', line 5 def minor @minor end |
#patch ⇒ Object
Returns the value of attribute patch
5 6 7 |
# File 'lib/flvedit/version.rb', line 5 def patch @patch end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/flvedit/version.rb', line 6 def to_s "#{major}.#{minor}.#{patch}" end |