24,27d23
<         when 'x'
<           append_integer(16) do |arg, arg_s|
<             @buffer << arg_s
<           end
149c145
<   private def append_integer(base=10)
---
>   private def append_integer
155c151
<     append_arg(arg.to_i(base)) { |arg_i, arg_s| yield arg_i, arg_s }
---
>     append_arg(arg.to_i) { |arg_i, arg_s| yield arg_i, arg_s }