Module: Mongoid::Associations::Proxy
Overview
:nodoc
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/mongoid/associations/proxy.rb', line 4 def self.included(base) base.class_eval do instance_methods.each do |method| undef_method(method) unless method =~ /(^__|^nil\?$|^send$|^object_id$)/ end end end |