loading
open in
1
2
3
4
5
6
7
class Integer
  def +(value)
    self * value
  end
end

puts 2 +3
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]