class Object

hook into method_missing on Object

Public Instance Methods

__fuzzyruby_method_missing_old__(name, *args, &block)
Alias for: method_missing
method_missing(name, *args, &block) click to toggle source
# File lib/fuzzy-ruby/api.rb, line 88
def method_missing name, *args, &block
  if FuzzyRuby.enabled?
    FuzzyRuby.send :autocorrect, binding.of_caller(1), self, name, args, block
  else
    __fuzzyruby_method_missing_old__ name, *args, &block
  end
end