Class: Kameleon::DSL::Verify::EmptyInput
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::EmptyInput
- Defined in:
- lib/kameleon/dsl/verify/presence.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Instance Method Summary collapse
-
#initialize(*params) ⇒ EmptyInput
constructor
A new instance of EmptyInput.
Constructor Details
#initialize(*params) ⇒ EmptyInput
Returns a new instance of EmptyInput.
252 253 254 255 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 252 def initialize(*params) @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
250 251 252 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 250 def conditions @conditions end |