Module: SwitchPoint::Model
- Defined in:
- lib/switch_point/model.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(model) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/switch_point/model.rb', line 5 def self.included(model) model.singleton_class.class_eval do include ClassMethods alias_method_chain :connection, :switch_point end end |