Class: Cucumber::Tcl::StepDefinitions::ExecuteResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/tcl/step_definitions.rb

Instance Method Summary collapse

Constructor Details

#initialize(raw) ⇒ ExecuteResponse

Returns a new instance of ExecuteResponse.



32
33
34
# File 'lib/cucumber/tcl/step_definitions.rb', line 32

def initialize(raw)
  @raw = raw
end

Instance Method Details

#raise_any_pending_errorObject



36
37
38
39
40
# File 'lib/cucumber/tcl/step_definitions.rb', line 36

def raise_any_pending_error
  if @raw == "pending"
    raise Cucumber::Core::Test::Result::Pending.new("TODO: Step not yet implemented")
  end
end