Sha256: 8121cad394c33e636eca517dd2af3d6e9dab06bf6e57298e1cbce2a98e629dcf

Contents?: true

Size: 262 Bytes

Versions: 9

Compression:

Stored size: 262 Bytes

Contents

module !{upper}
  module Version

    MAJOR = +{version.split('.')[0].to_i}
    MINOR = +{version.split('.')[1].to_i}
    TINY  = +{version.split('.')[2].to_i}

    def self.to_s
      [ MAJOR, MINOR, TINY ].join('.')
    end

  end
  VERSION = Version.to_s
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
noe-1.7.6 templates/ruby/src/lib/__lower__/version.rb
noe-1.7.5 templates/ruby/src/lib/__lower__/version.rb
noe-1.7.4 templates/ruby/src/lib/__lower__/version.rb
noe-1.7.3 templates/ruby/src/lib/__lower__/version.rb
noe-1.7.2 templates/ruby/src/lib/__lower__/version.rb
noe-1.7.1 templates/ruby/src/lib/__lower__/version.rb
noe-1.7.0 templates/ruby/src/lib/__lower__/version.rb
noe-1.6.0 templates/ruby/src/lib/__lower__/version.rb
noe-1.5.1 templates/ruby/src/lib/__lower__/version.rb