Sha256: 58ef13ffcf4377cf97608d756762850acc0e5179558babb745fdb48790d1e1e5

Contents?: true

Size: 465 Bytes

Versions: 16

Compression:

Stored size: 465 Bytes

Contents

module LD::Patch::VERSION
  VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION")
  MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")

  STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')

  ##
  # @return [String]
  def self.to_s()   STRING end

  ##
  # @return [String]
  def self.to_str() STRING end

  ##
  # @return [Array(Integer, Integer, Integer)]
  def self.to_a() STRING.split(".") end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ld-patch-3.3.0 lib/ld/patch/version.rb
ld-patch-3.2.2 lib/ld/patch/version.rb
ld-patch-3.2.0 lib/ld/patch/version.rb
ld-patch-3.1.3 lib/ld/patch/version.rb
ld-patch-3.1.2 lib/ld/patch/version.rb
ld-patch-3.1.1 lib/ld/patch/version.rb
ld-patch-3.1.0 lib/ld/patch/version.rb
ld-patch-0.3.3 lib/ld/patch/version.rb
ld-patch-0.3.2 lib/ld/patch/version.rb
ld-patch-0.3.1 lib/ld/patch/version.rb
ld-patch-0.3.0 lib/ld/patch/version.rb
ld-patch-0.3.0.beta2 lib/ld/patch/version.rb
ld-patch-0.3.0.beta1 lib/ld/patch/version.rb
ld-patch-0.2.0 lib/ld/patch/version.rb
ld-patch-0.1.1 lib/ld/patch/version.rb
ld-patch-0.1.0 lib/ld/patch/version.rb