class Class

Public Instance Methods

daft_funkts(*args) click to toggle source
# File lib/daft_funkt.rb, line 22
def daft_funkts(*args)
  args.each do |arg|
    next if DaftFunkt::Functions[arg].nil?
    # Here's the getter
    class_eval("def #{arg};DaftFunkt::Functions[:#{arg}];end")
  end
end