Class: Kameleon::DSL::Verify::EmptyInput

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) ⇒ 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

#conditionsObject (readonly)

Returns the value of attribute conditions.



250
251
252
# File 'lib/kameleon/dsl/verify/presence.rb', line 250

def conditions
  @conditions
end