class Keisan::Functions::CMathFunction
Public Class Methods
new(name, proc_function = nil)
click to toggle source
Calls superclass method
# File lib/keisan/functions/cmath_function.rb, line 6 def initialize(name, proc_function = nil) super(name, proc_function || Proc.new {|arg| CMath.send(name, arg) }) end