Scaruby::AppliableProc
This class handles dynamic methods through the method_missing method
9 10 11 12 13 14 15
# File 'lib/scaruby/core_ext/proc.rb', line 9 def method_missing(name, *args, &block) if self.is_a? Scaruby::Function self.send(name, *args, &block) else self.extend(Scaruby::Function).send(name, *args, &block) end end