Sha256: 3365b0ad4145e2a3522d3462277133192e006440d6a6006eb69b9b26790d06bd

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module Launchy
  VERSION = "3.0.1"

  # Internal: Version number of Launchy
  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

3 entries across 2 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/launchy-3.0.1/lib/launchy/version.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/launchy-3.0.1/lib/launchy/version.rb
launchy-3.0.1 lib/launchy/version.rb