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