Sha256: c67c5b7e989e53af5e8fcc123bdd5770a69d772cda585b8e8c0c2103725ee167

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

module Launchy
  VERSION = "2.2.0"

  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.2.0-java lib/launchy/version.rb
launchy-2.2.0 lib/launchy/version.rb