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.



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

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

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



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

def conditions
  @conditions
end