Class: Kameleon::DSL::Verify::Absence::Condition

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleon/dsl/verify/absence.rb,
lib/kameleon/dsl/verify/absence.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method, *params, &block) ⇒ Condition

Returns a new instance of Condition.



48
49
50
51
52
# File 'lib/kameleon/dsl/verify/absence.rb', line 48

def initialize(method, *params, &block)
  @method = method
  @params = params
  @block = block
end

Instance Attribute Details

#blockObject

Returns the value of attribute block.



46
47
48
# File 'lib/kameleon/dsl/verify/absence.rb', line 46

def block
  @block
end

#methodObject

Returns the value of attribute method.



46
47
48
# File 'lib/kameleon/dsl/verify/absence.rb', line 46

def method
  @method
end

#paramsObject

Returns the value of attribute params.



46
47
48
# File 'lib/kameleon/dsl/verify/absence.rb', line 46

def params
  @params
end