Module: Twitter::Version

Defined in:
lib/vendor/twitter/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 =
3
REVISION =
1

Class Method Summary collapse

Class Method Details

.to_nameObject

Returns X-Y-Z formatted version name



15
16
17
# File 'lib/vendor/twitter/lib/twitter/version.rb', line 15

def to_name
  "#{MAJOR}_#{MINOR}_#{REVISION}"
end

.to_versionObject

Returns X.Y.Z formatted version string



10
11
12
# File 'lib/vendor/twitter/lib/twitter/version.rb', line 10

def to_version
  "#{MAJOR}.#{MINOR}.#{REVISION}"
end