Sha256: 94450c7ab0f090c03e1c4c49037e03079c9e019e4d4cbb65ffc77dd43dac4942

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

module Lelylan
  class Version
    MAJOR = 0 unless defined? MAJOR
    MINOR = 0 unless defined? MINOR
    PATCH = 4 unless defined? PATCH
    PRE = nil unless defined? PRE

    class << self

      def to_s
        [MAJOR, MINOR, PATCH, PRE].compact.join('.')
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lelylan-rb-0.0.4 lib/lelylan/version.rb