Class: Cucumber::WireSupport::WireProtocol::Requests::SnippetText

Inherits:
RequestHandler show all
Defined in:
lib/cucumber/wire_support/wire_protocol/requests.rb

Instance Method Summary collapse

Methods inherited from RequestHandler

#handle_fail, #initialize

Constructor Details

This class inherits a constructor from Cucumber::WireSupport::RequestHandler

Instance Method Details

#execute(step_keyword, step_name, multiline_arg_class_name) ⇒ Object



41
42
43
44
45
46
47
48
# File 'lib/cucumber/wire_support/wire_protocol/requests.rb', line 41

def execute(step_keyword, step_name, multiline_arg_class_name)
  request_params = {
    :step_keyword => step_keyword,
    :step_name => step_name,
    :multiline_arg_class => multiline_arg_class_name
  }
  super(request_params)
end

#handle_success(snippet_text) ⇒ Object Also known as: handle_snippet_text



50
51
52
# File 'lib/cucumber/wire_support/wire_protocol/requests.rb', line 50

def handle_success(snippet_text)
  snippet_text
end