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, Version, Visitation Classes: Base, Engine, Error, Invalid

Constant Summary collapse

File =
::File
GEM_VERSION =

The full gem version string, including the Version::MAJOR, Version::MINOR, Version::PATCH, and optionally, the Metasploit::Model::Version::PRERELEASE in the RubyGems versioning format.

Returns:

Version.gem
VERSION =

The full version string, including the Metasploit::Model::Version::MAJOR, Metasploit::Model::Version::MINOR, Metasploit::Model::Version::PATCH, and optionally, the Metasploit::Model::Version::PRERELEASE in the semantic versioning v2.0.0 format.

Version.full