Sha256: 3b502ad34064a73c592105e0ab0d33f662d91b2880e24201231c3f285a23f4a1

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

module Dradis
  module Plugins
    module Mediawiki

      # Returns the version of the currently loaded Mediawiki plugin as a <tt>Gem::Version</tt>
      def self.gem_version
        Gem::Version.new VERSION::STRING
      end

      module VERSION
        MAJOR = 4
        MINOR = 5
        TINY = 0
        PRE = nil

        STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dradis-mediawiki-4.5.0 lib/dradis/plugins/mediawiki/gem_version.rb