Class: ActiveMocker::ActiveRecord::Base::ConstMissing Private

Inherits:
Object
  • Object
show all
Defined in:
lib/active_mocker/active_record.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



35
36
37
# File 'lib/active_mocker/active_record.rb', line 35

def self.const_missing(name)
  self.const_set name, Class.new(ConstMissing)
end