RubyMine incorrectly marks method calls with blocks on do/end blocks as invalid syntax. Permanently deleted user Created May 05, 2009 21:23 a = ["1","3", "2"].map do |i| i.to_iend.sort {|a,b| a <=> b}puts a.inspect #=>
Hello Charles,
Thanks, filled an issue: http://www.jetbrains.net/jira/browse/RUBY-3983
Regards,
Oleg