Sha256: a273a0069b24f495634d1605b88760a327a3141a00d05ec90eac79979cd7ad94
Contents?: true
Size: 679 Bytes
Versions: 1
Compression:
Stored size: 679 Bytes
Contents
#-- # Copyright (c) 2008 Jeremy Hinegardner # All rights reserved. Licensed under the same terms as Ruby. No warranty is # provided. See LICENSE and COPYING for details. #++ # module Stickler # Version access in every possibly way that people might want to get it. # module Version MAJOR = 0 MINOR = 1 BUILD = 1 def self.to_ary [ MAJOR, MINOR, BUILD ] end def self.to_s self.to_ary.join(".") end def self.to_hash { :major => MAJOR, :minor => MINOR, :build => BUILD } end # Version string constant STRING = Version.to_s.freeze end # Version string constant VERSION = Version.to_s.freeze end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stickler-0.1.1 | lib/stickler/version.rb |