Module: Switchman::ActiveRecord::AttributeMethods
- Defined in:
- lib/switchman/active_record/attribute_methods.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
99 100 101 102 |
# File 'lib/switchman/active_record/attribute_methods.rb', line 99 def self.included(klass) klass.extend(ClassMethods) klass.attribute_method_prefix "global_", "local_", "original_" end |