Module: CloseEnough::Extensions::InstanceMethods

Defined in:
lib/close_enough/extensions.rb

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object (private)



22
23
24
25
26
# File 'lib/close_enough/extensions.rb', line 22

def method_missing(name, *args, &block)
  meth = nearest_method(name)

  meth ? send(meth, *args, &block) : super
end