Class: Kameleon::DSL::Verify::Image
- Inherits:
-
Object
- Object
- Kameleon::DSL::Verify::Image
- 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) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(params) ⇒ Image
Returns a new instance of Image.
108 109 110 111 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 108 def initialize(params) @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
106 107 108 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 106 def conditions @conditions end |