Class: Kameleon::DSL::Verify::Absence::Link

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

Overview

! below class need some love - refactoring

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Link

Returns a new instance of Link.



60
61
62
63
# File 'lib/kameleon/dsl/verify/absence.rb', line 60

def initialize(params)
  @conditions = []
  parse_params(params)
end

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



58
59
60
# File 'lib/kameleon/dsl/verify/absence.rb', line 58

def conditions
  @conditions
end