Sha256: e020fc40733bce14e8f06cdb8fb4fec94e8d052d309f1ae43012c37de97413c2

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

module MediaWiki

  module Version

    MAJOR = 1
    MINOR = 1
    PATCH = 0

    class << self

      # Returns array representation.
      def to_a
        [MAJOR, MINOR, PATCH]
      end

      # Short-cut for version string.
      def to_s
        to_a.join('.')
      end

    end

  end

  VERSION = Version.to_s

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mediawiki-gateway-1.1.0 lib/media_wiki/version.rb