Class/Module Index [+]

Quicksearch

Amalgalite::Version

Version information for Amagalite

Constants

BUILD
MAJOR
MINOR
STRING

Version string constant

Public Class Methods

to_a() click to toggle source

return the Version as an array of MAJOR, MINOR, BUILD

# File lib/amalgalite/version.rb, line 17
def self.to_a 
  [MAJOR, MINOR, BUILD]
end
to_hash() click to toggle source

return the Vesion as a hash

# File lib/amalgalite/version.rb, line 27
def self.to_hash
  { :major => MAJOR, :minor => MINOR, :build => BUILD }
end
to_s() click to toggle source

return the Version as a dotted String MAJOR.MINOR.BUILD

# File lib/amalgalite/version.rb, line 22
def self.to_s
  to_a.join(".")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.