Class: Kameleon::DSL::Verify::Link
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::Link
- Defined in:
- lib/kameleon/dsl/verify/presence.rb
Overview
! below class require some deep refactoring
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Instance Method Summary collapse
-
#initialize(params) ⇒ Link
constructor
A new instance of Link.
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
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
80 81 82 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 80 def conditions @conditions end |