Module: ActiveMocker::UnknownClassMethod

Included in:
ActiveRecord::Base
Defined in:
lib/active_mocker/active_record/unknown_class_method.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args) ⇒ Object



5
6
7
# File 'lib/active_mocker/active_record/unknown_class_method.rb', line 5

def method_missing(meth, *args)
  Logger.debug "ActiveMocker :: DEBUG :: #{meth} called from class #{self.name} is unknown and will not be available in mock.\n"
end