Class: Cucumber::MultilineArgument::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/multiline_argument.rb

Instance Method Summary collapse

Instance Method Details

#data_table(node, *_args) ⇒ Object



48
49
50
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/multiline_argument.rb', line 48

def data_table(node, *_args)
  @result = DataTable.new(node)
end

#doc_string(node, *_args) ⇒ Object



44
45
46
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/multiline_argument.rb', line 44

def doc_string(node, *_args)
  @result = DocString.new(node)
end

#wrap(node) ⇒ Object



38
39
40
41
42
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/multiline_argument.rb', line 38

def wrap(node)
  @result = None.new
  node.describe_to(self)
  @result
end