Class: GreenPepper::DoWithLineFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/greenpepper/example/dowithexample.rb

Instance Method Summary collapse

Instance Method Details

#create_accept(function, result_column, params) ⇒ Object



73
74
75
# File 'lib/greenpepper/example/dowithexample.rb', line 73

def create_accept(function, result_column, params)
  DoWithLineAccept.new(function, result_column, params)
end

#create_check(function, result_column, expected_val, params) ⇒ Object



69
70
71
# File 'lib/greenpepper/example/dowithexample.rb', line 69

def create_check(function, result_column, expected_val, params)
  DoWithLineCheck.new(function, result_column, expected_val, params)
end

#create_function_call(function, result_column, params) ⇒ Object



65
66
67
# File 'lib/greenpepper/example/dowithexample.rb', line 65

def create_function_call(function, result_column, params)
  DoWithLineNoKeyword.new(function, result_column, params)
end

#create_reject(function, result_column, params) ⇒ Object



77
78
79
# File 'lib/greenpepper/example/dowithexample.rb', line 77

def create_reject(function, result_column, params)
  DoWithLineReject.new(function, result_column, params)
end