I believe this bug has been fixed in trunk a couple weeks ago. $ ./miniruby -e 'p "%-8s" % [:symbol]' "symbol "
Laurent On Oct 2, 2010, at 10:31 PM, Rich Morin wrote: > I happen to be on both lists, so I saw this: > > At 1:24 AM -0400 10/3/10, Loren Segal wrote: >> Just to clarify, the offending line seems to be: >> >> >> http://github.com/lsegal/yard/blob/master/lib/yard/cli/command_parser.rb#L82 >> >> MacRuby doesn't seem to be able to do: >> >> "%-8s" % [:symbol] >> >> Or: >> >> sprintf("%-8s", :symbol) >> >> Note that it's fine with "%s", but any form of width formatting screws >> it up. This works fine in all other Rubies, so it's definitely a MacRuby >> specific problem with the stdlib implementation. You should report this >> with them. > -- > http://www.cfcl.com/rdm Rich Morin > http://www.cfcl.com/rdm/resume r...@cfcl.com > http://www.cfcl.com/rdm/weblog +1 650-873-7841 > > Technical editing and writing, programming, system design > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel