Sha256: 9a756c554389d5215741c77c68858a7c16edc60048d9e96b2356e660bbb3f2ef

Contents?: true

Size: 675 Bytes

Versions: 8

Compression:

Stored size: 675 Bytes

Contents

require 'metasploit/model/base'
require 'metasploit/model/search/group'

# Groups together {Metasploit::Model::Search::Operation::Base operations} and/or or nested groups.
class Metasploit::Model::Search::Group::Base < Metasploit::Model::Base
  #
  # Attributes
  #

  # @!attribute [rw] children
  #   {Metasploit::Model::Search::Operation::Base Operations} or nested {Metasploit::Model::Search::Group::Base groups}.
  #
  #   @return [Array<Metasploit::Model::Search::Group::Base, Metasploit::Model::Search::Operation::Base>]
  attr_accessor :children

  #
  # Validations
  #

  validates :children,
            :length => {
                :minimum => 1
            }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
metasploit-model-0.27.3 app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.3-java app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.2 app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.2-java app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.1 app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.1-java app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.0 app/models/metasploit/model/search/group/base.rb
metasploit-model-0.27.0-java app/models/metasploit/model/search/group/base.rb