Method: PerfectShape::Math.method_missing

Defined in:
lib/perfect_shape/math.rb

.method_missing(method_name, *args, &block) ⇒ Object



100
101
102
103
104
105
106
# File 'lib/perfect_shape/math.rb', line 100

def method_missing(method_name, *args, &block)
  if ::Math.respond_to?(method_name, true)
    ::Math.send(method_name, *args, &block)
  else
    super
  end
end