class RealMultiplication::Values

The syntax of RealMultiplication is defined in RFC1738 section 3.3.

Note that the RealMultiplication library allows us to implements multiplication between two numbers.

Public Class Methods

gets_it() click to toggle source
# File lib/real_multiplication/values.rb, line 20
def self.gets_it
  puts "Enter A :"
  a = gets.chomp.to_i
  puts "Enter B :"
  b = gets.chomp.to_i
  return a,b
end