Class: Kameleon::DSL::Verify::Image

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleon/dsl/verify/presence.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#conditionsObject (readonly)

Returns the value of attribute conditions.



105
106
107
# File 'lib/kameleon/dsl/verify/presence.rb', line 105

def conditions
  @conditions
end