Issue #5753 has been reported by Nobuyoshi Nakada.

----------------------------------------
Bug #5753: [Ripper] on_magic_comment doesn't pass proper value
http://redmine.ruby-lang.org/issues/5753

Author: Nobuyoshi Nakada
Status: Open
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: ext
Target version: 2.0.0
ruby -v: 2.0.0dev r34010


=begin
 $ ruby -v -rripper -e  'r = Ripper.new("# -*- foo: bar -*-"); def r.on_magic_comment(*x);p x;end;r.parse'
 ["foo", false]

Should be ((%["foo", "bar"]%)).

Affects also 1.9.
=end



-- 
http://redmine.ruby-lang.org