class Cucumber::Core::Ast::ExamplesTable::Row
def ==(other)
def ==(other) return false unless other.class == self.class other.number == number && other.location == location && other.data == data end
def description_for_visitors
def description_for_visitors :examples_table_row end
def expand(string)
def expand(string) result = string.dup @data.each do |key, value| result.gsub!("<#{key}>", value.to_s) end result end
def initialize(data, number, location, language)
def initialize(data, number, location, language) raise ArgumentError, data.to_s unless data.is_a?(Hash) @data = data @number = number @location = location @language = language end
def inspect
def inspect "#{self.class}: #{@data.inspect}" end
def values
def values @data.values end