Sha256: a98f9e9ea7436beb760b8234b6a1f4a15104eb4c51472682c8b9ae737d6cf73a

Contents?: true

Size: 434 Bytes

Versions: 18

Compression:

Stored size: 434 Bytes

Contents

# Search operation with {Metasploit::Model::Search::Operation::Base#operator} with `#type` `:integer`.  Validates that
# value is an integer.
class Metasploit::Model::Search::Operation::Integer < Metasploit::Model::Search::Operation::Base
  include Metasploit::Model::Search::Operation::Integer::Value

  #
  # Validations
  #

  validates :value,
            :numericality => {
                :only_integer => true
            }
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
metasploit-model-0.27.0.pre.dep.pre.railties app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.26.1-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.26.1 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.7 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.7-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.6 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.6-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.3 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.3-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.2 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.2-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.1 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.1-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.25.1.pre.metasploit.pre.model.pre.search.pre.operator.pre.and.pre.operation.pre.groups app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.24.1-java app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.24.1 app/models/metasploit/model/search/operation/integer.rb
metasploit-model-0.24.1.pre.semantic.pre.versioning.pre.2.pre.0 app/models/metasploit/model/search/operation/integer.rb