Added v 0.2.3 snapshot.
[twitter4r-core.git] / lib / twitter / version.rb
blob17b7ac29a9f7cd1fc76376f5c2940d6ab4e34cb3
1 # version.rb contains <tt>Twitter::Version</tt> that provides helper
2 # methods related to versioning of the <tt>Twitter4R</tt> project.
4 module Twitter::Version #:nodoc:
5   MAJOR = 0
6   MINOR = 2
7   REVISION = 3
8   class << self
9     # Returns X.Y.Z formatted version string
10     def to_version
11       "#{MAJOR}.#{MINOR}.#{REVISION}"
12     end
13     
14     # Returns X-Y-Z formatted version name
15     def to_name
16       "#{MAJOR}_#{MINOR}_#{REVISION}"
17     end
18   end
19 end