Parent

Methods

Class Index [+]

Quicksearch

Cucumber::StepMother::StepInvoker

Public Class Methods

new(step_mother) click to toggle source
     # File lib/cucumber/step_mother.rb, line 223
223:       def initialize(step_mother)
224:         @step_mother = step_mother
225:       end

Public Instance Methods

eof() click to toggle source
     # File lib/cucumber/step_mother.rb, line 239
239:       def eof
240:       end
step(statement, multiline_arg, result) click to toggle source
     # File lib/cucumber/step_mother.rb, line 227
227:       def step(statement, multiline_arg, result)
228:         cucumber_multiline_arg = case(multiline_arg)
229:         when Gherkin::Formatter::Model::PyString
230:           multiline_arg.value
231:         when Array
232:           Ast::Table.new(multiline_arg.map{|row| row.cells})
233:         else
234:           nil
235:         end
236:         @step_mother.invoke(*[statement.name, cucumber_multiline_arg].compact) 
237:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.