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.



247
248
249
250
# File 'lib/kameleon/dsl/verify/presence.rb', line 247

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

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



245
246
247
# File 'lib/kameleon/dsl/verify/presence.rb', line 245

def conditions
  @conditions
end