Sha256: c17447fb22679ff671472029bf65856b562567d3f17fe374e703e02b2102c051
Contents?: true
Size: 451 Bytes
Versions: 9
Compression:
Stored size: 451 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 = 3 REVISION = 1 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
9 entries across 9 versions & 2 rubygems