Class: Kameleon::DSL::Verify::Absence::Condition
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::Absence::Condition
- Defined in:
- lib/kameleon/dsl/verify/absence.rb,
lib/kameleon/dsl/verify/absence.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#method ⇒ Object
Returns the value of attribute method.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(method, *params, &block) ⇒ Condition
constructor
A new instance of Condition.
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
#block ⇒ Object
Returns the value of attribute block.
46 47 48 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 46 def block @block end |
#method ⇒ Object
Returns the value of attribute method.
46 47 48 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 46 def method @method end |
#params ⇒ Object
Returns the value of attribute params.
46 47 48 |
# File 'lib/kameleon/dsl/verify/absence.rb', line 46 def params @params end |