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.



108
109
110
111
# File 'lib/kameleon/dsl/verify/presence.rb', line 108

def initialize(params)
  @conditions = []
  parse_params(params)
end

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



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

def conditions
  @conditions
end