Sha256: 8c0824d31110fafb0e5f8a6f3329c17d3b06638197edac3bd6709194d0c00897

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 = 6 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.6 lib/rails_admin/version.rb