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

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

Overview

! below class require some deep refactoring

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Link

Returns a new instance of Link.



81
82
83
84
# File 'lib/kameleon/dsl/verify/presence.rb', line 81

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

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



79
80
81
# File 'lib/kameleon/dsl/verify/presence.rb', line 79

def conditions
  @conditions
end