Class: Cucumber::Tcl::StepDefinitions::ExecuteResponse
- Inherits:
-
Object
- Object
- Cucumber::Tcl::StepDefinitions::ExecuteResponse
- Defined in:
- lib/cucumber/tcl/step_definitions.rb
Instance Method Summary collapse
-
#initialize(raw) ⇒ ExecuteResponse
constructor
A new instance of ExecuteResponse.
- #raise_any_pending_error ⇒ Object
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_error ⇒ Object
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 |