Sha256: 5bf7247cc69a8d0595d66aceebf4305108cb2c86bf06e4bbcb54a73c67d1a200

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

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

    class << self

      # @return [String]
      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
rails_admin-0.4.8 lib/rails_admin/version.rb