Class: PluckAll::Hooks
- Inherits:
-
Object
- Object
- PluckAll::Hooks
- Defined in:
- lib/pluck_all/hooks.rb
Class Method Summary collapse
Class Method Details
.init ⇒ Object
4 5 6 7 |
# File 'lib/pluck_all/hooks.rb', line 4 def init require 'pluck_all/models/active_record_extension' if require_if_exists('active_record') require 'pluck_all/models/mongoid_extension' if require_if_exists('mongoid') end |