Class: Kameleon::DSL::Verify::Sequence
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::Sequence
- Defined in:
- lib/kameleon/dsl/verify/presence.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
- #conditions ⇒ Object
-
#initialize(params) ⇒ Sequence
constructor
A new instance of Sequence.
Constructor Details
#initialize(params) ⇒ Sequence
Returns a new instance of Sequence.
195 196 197 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 195 def initialize(params) @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
193 194 195 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 193 def params @params end |
Instance Method Details
#conditions ⇒ Object
200 201 202 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 200 def conditions [condition] end |