class Samovar::Table
def parse(input, command)
def parse(input, command) @parser.each do |row| current = command.send(row.key) if result = row.parse(input, current) command.send("#{row.key}=", result) end end end
def parse(input, command) @parser.each do |row| current = command.send(row.key) if result = row.parse(input, current) command.send("#{row.key}=", result) end end end