Module: ProtectedRecord::DirtyModel
- Defined in:
- lib/protected_record/dirty_model.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/protected_record/dirty_model.rb', line 3 def self.included(base) base.extend(ClassMethods) def protected_keys self.class.send(:protected_keys) end end |
Instance Method Details
#protected_keys ⇒ Object
6 7 8 |
# File 'lib/protected_record/dirty_model.rb', line 6 def protected_keys self.class.send(:protected_keys) end |