20
21
22
23
24
25
26
27
28
29
|
# File 'lib/eapi.rb', line 20
def self.add_method_missing(klass)
def klass.method_missing(method, *args, &block)
child_klass = Eapi::Children.get(method, self)
if child_klass
child_klass.new *args, &block
else
super
end
end
end
|