Class: Kameleon::DSL::Verify::Sequence

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

Returns a new instance of Sequence.



195
196
197
# File 'lib/kameleon/dsl/verify/presence.rb', line 195

def initialize(params)
  @params = params
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



193
194
195
# File 'lib/kameleon/dsl/verify/presence.rb', line 193

def params
  @params
end

Instance Method Details

#conditionsObject



200
201
202
# File 'lib/kameleon/dsl/verify/presence.rb', line 200

def conditions
  [condition]
end