Module: Hatio::Stripper
- Defined in:
- lib/hatio-core/active_record/stripper.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/hatio-core/active_record/stripper.rb', line 4 def self.included(base) super base.extend(ClassMethods) base.class_eval do include InstanceMethods class_attribute :strip_fields end end |