Module: Metasploit::Model

Extended by:
ActiveSupport::Autoload
Defined in:
lib/metasploit/model.rb,
lib/metasploit/model/version.rb

Overview

The namespace for this gem. All code under the Model namespace is code that is shared between in-memory ActiveModels in metasploit-framework and database ActiveRecords in metasploit_data_models. Having a separate gem for this shard code outside of metasploit_data_models is necessary as metasploit_data_models is an optional dependency for metasploit-framework as metasploit-framework can work without a database.

Defined Under Namespace

Modules: Association, Login, NilifyBlanks, Realm, Search, Spec, Translation, Visitation Classes: Base, Engine, Error, Invalid

Constant Summary collapse

File =

Alias for ::File when not in jruby.

::File
VERSION =

VERSION is managed by GemRelease

'3.1.3'

Class Method Summary collapse

Class Method Details

.versionString

returns the VERSION

Returns:

  • (String)


11
12
13
# File 'lib/metasploit/model/version.rb', line 11

def self.version
  VERSION
end