Method: Transproc::Transformer::Deprecated::ClassInterface#inherited
- Defined in:
- lib/transproc/transformer/deprecated/class_interface.rb
#inherited(subclass) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 20 21 22 23 |
# File 'lib/transproc/transformer/deprecated/class_interface.rb', line 17 def inherited(subclass) super if transformations.any? subclass.instance_variable_set('@transformations', transformations.dup) end end |