Method: WIP::Runner::Spec::Helpers::UIHelpers::Simulator#initialize

Defined in:
lib/wip/runner/spec/helpers/ui_helpers.rb

#initialize(values, all = false) ⇒ Simulator

Returns a new instance of Simulator.



78
79
80
81
# File 'lib/wip/runner/spec/helpers/ui_helpers.rb', line 78

def initialize(values, all = false)
  @values = values.map { |s| s.nil? ? '' : s }
  @all    = all
end