Module: Twitter::Version
- Defined in:
- lib/twitter/version.rb
Overview
version.rb contains Twitter::Version
that provides helper methods related to versioning of the Twitter4R
project.
Constant Summary collapse
- MAJOR =
:nodoc:
0
- MINOR =
4
- REVISION =
0
Class Method Summary collapse
-
.to_name ⇒ Object
Returns X-Y-Z formatted version name.
-
.to_version ⇒ Object
Returns X.Y.Z formatted version string.
Class Method Details
.to_name ⇒ Object
Returns X-Y-Z formatted version name
15 16 17 |
# File 'lib/twitter/version.rb', line 15 def to_name "#{MAJOR}_#{MINOR}_#{REVISION}" end |
.to_version ⇒ Object
Returns X.Y.Z formatted version string
10 11 12 |
# File 'lib/twitter/version.rb', line 10 def to_version "#{MAJOR}.#{MINOR}.#{REVISION}" end |