# File lib/multi_json/vendor/ok_json.rb, line 160 def eat(typ, ts) if ts[0][0] != typ raise Error, "expected #{typ} (got #{ts[0].inspect})" end ts[1..-1] end