Sha256: 88c64304626a4d3af4cd3f4dba7459d660dbe95e0bee7be060080affde86a2f2

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dradis-plugins-4.0.0 lib/dradis/plugins/gem_version.rb