class Cucumber::RbSupport::Snippet::MultilineArgumentSnippet::DataTable
Public Class Methods
new(table)
click to toggle source
# File lib/cucumber/rb_support/snippet.rb, line 147 def initialize(table) @table = table end
Public Instance Methods
append_block_argument_to(array)
click to toggle source
# File lib/cucumber/rb_support/snippet.rb, line 151 def append_block_argument_to(array) array << 'table' end
append_comment_to(string)
click to toggle source
# File lib/cucumber/rb_support/snippet.rb, line 155 def append_comment_to(string) string << " # table is a #{@table.class.to_s}\n" end