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.
107 108 109 110 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 107 def initialize(params) @conditions = [] parse_params(params) end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
105 106 107 |
# File 'lib/kameleon/dsl/verify/presence.rb', line 105 def conditions @conditions end |