Module: SqlFilterAttributes::ClassMethods
- Defined in:
- lib/sql_filter.rb
Instance Method Summary collapse
-
#attributes ⇒ Object
returns the configuration hash.
- #inherited(subclass) ⇒ Object
Instance Method Details
#attributes ⇒ Object
returns the configuration hash
17 18 19 |
# File 'lib/sql_filter.rb', line 17 def attributes @attributes end |
#inherited(subclass) ⇒ Object
12 13 14 |
# File 'lib/sql_filter.rb', line 12 def inherited(subclass) subclass.instance_variable_set('@attributes', instance_variable_get('@attributes').clone) end |