Sha256: 8270cf2b490abc22e948411bd00b37619d8e5fe690327aa10570d9601b23142d

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

module Launchy
  VERSION = "2.0.4"

  module Version

    MAJOR   = Integer(VERSION.split('.')[0])
    MINOR   = Integer(VERSION.split('.')[1])
    PATCH   = Integer(VERSION.split('.')[2])

    def self.to_a
      [MAJOR, MINOR, PATCH]
    end

    def self.to_s
      VERSION
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
launchy-2.0.4-java lib/launchy/version.rb
launchy-2.0.4 lib/launchy/version.rb