Sha256: 79c1d77299023eb8e455faba637906a88f723508ca9a11752f40147fc8398976

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

module Launchy
  VERSION = "3.0.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

1 entries across 1 versions & 1 rubygems

Version Path
launchy-3.0.0 lib/launchy/version.rb