module PrecedenceSpecs class NonUnaryOpTest def add_num(arg) [1].collect { |i| arg + i +1 } end def sub_num(arg) [1].collect { |i| arg + i -1 } end def add_str %w[1].collect { |i| i +'1' } end def add_var [1].collect { |i| i +i } end end end wspan='2'>cgit logo index : ruby.git
The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Expand)Author
2012-12-03Fix a typo in misc/ruby-additional.el.knu
2012-12-03ruby-mode.el: fix argument indentnobu
2012-12-01ruby-electric.el: use kill-regionnobu
2012-12-01inf-ruby.el: fix compilation-shell-minor-modenobu
2012-11-07ruby-additional.el: set encodingnobu