ruby integer range and running through classes : I have started with the below but the `@limit` is throwing with 'params' not found. Also, how can I run my num variable through both my classes `Range` and `Multiply` before it puts.


    class Range
      def clamp(min, max)
        self < min ? min : self > max ? max : self
      end
    end
    
    class Multiply
      def initialize(id, squared, cubed)
        @id     = num
        @squared   = (num * num)
        @cubed = (num * num * num)
      end
    end
    
    # @limit = (params[:limit] || 10).clamp(0, 100)
    
    puts 'Please insert your favorite number between 1 and 100.'
    num = gets.to_i
    puts 'You picked ' + num.to_s + '?'
    puts 'You picked ' + num.to_s.Multiply.squared + '?'


