Module: Sequel::Plugins::Sanitize::ClassMethods
- Defined in:
- lib/sequel_sanitize.rb
Instance Attribute Summary collapse
-
#sanitize_options ⇒ Object
Returns the value of attribute sanitize_options.
Instance Method Summary collapse
-
#inherited(klass) ⇒ Object
Propagate settings to the child classes.
Instance Attribute Details
#sanitize_options ⇒ Object
Returns the value of attribute sanitize_options.
27 28 29 |
# File 'lib/sequel_sanitize.rb', line 27 def @sanitize_options end |
Instance Method Details
#inherited(klass) ⇒ Object
Propagate settings to the child classes
30 31 32 33 |
# File 'lib/sequel_sanitize.rb', line 30 def inherited(klass) super klass. = self..dup end |