Skip to content

Commit

Permalink
Document new namespace Modules
Browse files Browse the repository at this point in the history
MSP-12489
  • Loading branch information
limhoff-r7 committed Apr 1, 2015
1 parent 62488d6 commit 96eac8c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/metasploit_data_models/ip_address/v4.rb
@@ -1,3 +1,4 @@
# Namespace for IPv4 Address format models.
module MetasploitDataModels::IPAddress::V4
extend ActiveSupport::Autoload

Expand Down
1 change: 1 addition & 0 deletions lib/metasploit_data_models/ip_address/v4/segment.rb
@@ -1,3 +1,4 @@
# A segment (or octet) in an IPv4 address format.
module MetasploitDataModels::IPAddress::V4::Segment
extend ActiveSupport::Autoload

Expand Down
1 change: 1 addition & 0 deletions lib/metasploit_data_models/ip_address/v4/segment/nmap.rb
@@ -1,3 +1,4 @@
# A segment in Nmap's IPv4 address format: either a {List comma separated list} or a {Range hyphenated range}.
module MetasploitDataModels::IPAddress::V4::Segment::Nmap
extend ActiveSupport::Autoload

Expand Down
2 changes: 2 additions & 0 deletions lib/metasploit_data_models/match.rb
@@ -1,3 +1,5 @@
# Namespace for {MetasploitDataModels::Match::Parent#match_child dispatching} to
# {MetasploitDataModels::Match::Child#match children based on if their Regexp matches}.
module MetasploitDataModels::Match
extend ActiveSupport::Autoload

Expand Down
2 changes: 2 additions & 0 deletions lib/metasploit_data_models/search/operation.rb
@@ -1,3 +1,5 @@
# Search operations ({MetasploitDataModels::Search::Operator operator}:operand) on {Mdm} and {MetasploitDataModels}
# models.
module MetasploitDataModels::Search::Operation
extend ActiveSupport::Autoload

Expand Down
3 changes: 3 additions & 0 deletions lib/metasploit_data_models/search/operation/port.rb
@@ -1,3 +1,6 @@
# Search operation on IP port formats: either
# {MetasploitDataModels::Search::Operation::Port::Number an individual port number} or
# {MetasploitDataModels::Search::Operation::Port::Range a hyphenated range of port numbers}.
module MetasploitDataModels::Search::Operation::Port
extend ActiveSupport::Autoload

Expand Down
1 change: 1 addition & 0 deletions lib/metasploit_data_models/search/operator/port.rb
@@ -1,3 +1,4 @@
# Namespace for search operator for ports.
module MetasploitDataModels::Search::Operator::Port
extend ActiveSupport::Autoload

Expand Down

0 comments on commit 96eac8c

Please sign in to comment.