#1342: Ruby 1.9.2 Syntax ------------------------------------+--------------------------------------- Reporter: seanlilmateus@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: Syntax, Ruby 1.9.2 ------------------------------------+--------------------------------------- this code run on ruby 1.9.2p180 but it does on MacRuby p "%d %s" % [1, "message"] # => "1 message" # =>"1 message" p "%{firstname}, %{lastname}" % {firstname: "Masao", lastname: "Mutoh"} # => "Masao, Mutoh" p "%<integer>d, %<float>.1f" % { integer: 10, float: 43.476374 } # => "10, 43.5" on MacRuby this results an "ArgumentError: named after numbered" -- Ticket URL: <http://www.macruby.org/trac/ticket/1342> MacRuby <http://macruby.org/>