[MacRuby-devel] [YARD] Troubles with YARD on MacRuby 0.6

Rich Morin rdm at cfcl.com
Sat Oct 2 22:31:42 PDT 2010


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     rdm at cfcl.com
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, system design


More information about the MacRuby-devel mailing list