Sha256: 878369914aaa986911837aeb8dc13dd1ed5a9007b3833618fd4ae25855deac34

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

# version.rb contains <tt>Twitter::Version</tt> that provides helper
# methods related to versioning of the <tt>Twitter4R</tt> project.

module Twitter::Version #:nodoc:
  MAJOR = 0
  MINOR = 4
  REVISION = 0
  class << self
    # Returns X.Y.Z formatted version string
    def to_version
      "#{MAJOR}.#{MINOR}.#{REVISION}"
    end
    
    # Returns X-Y-Z formatted version name
    def to_name
      "#{MAJOR}_#{MINOR}_#{REVISION}"
    end
  end
end

Version data entries

4 entries across 4 versions & 4 rubygems

Version Path
dferranti-twitter4r-0.4.0.1 lib/twitter/version.rb
filipegiusti-twitter4r-0.3.2.1 lib/twitter/version.rb
mbbx6spp-twitter4r-0.4.0 lib/twitter/version.rb
theill-twitter4r-0.3.2 lib/twitter/version.rb