class Cucumber::Glue::Snippet::MultilineArgumentSnippet::DataTable
Public Class Methods
new(table)
click to toggle source
# File lib/cucumber/glue/snippet.rb, line 184 def initialize(table) @table = table end
Public Instance Methods
append_block_parameter_to(array)
click to toggle source
# File lib/cucumber/glue/snippet.rb, line 188 def append_block_parameter_to(array) array << 'table' end
append_comment_to(string)
click to toggle source
# File lib/cucumber/glue/snippet.rb, line 192 def append_comment_to(string) string << " # table is a #{Cucumber::MultilineArgument::DataTable}\n" end