Hello,

I have this

class Calc

    def self.one
      1
     end

    def self.add
       -> (y) { x+y}
     end

end

but when I do

Calc.one.add.one

I see a Nomethoderror because 1 does not have the method add.

Roelof