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



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

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



48
49
50
# File 'lib/cucumber/wire_support/wire_protocol/requests.rb', line 48

def handle_success(snippet_text)
  snippet_text
end