Module: Passthrough
- Included in:
- ChemScanner::Interpreter::TextGroupInterpreter
- Defined in:
- lib/chem_scanner/extension/passthrough.rb
Instance Method Summary collapse
Instance Method Details
#passthrough(object) ⇒ Object
2 3 4 5 6 |
# File 'lib/chem_scanner/extension/passthrough.rb', line 2 def passthrough(object) object.instance_variables.each do |iv| instance_variable_set(iv, object.instance_variable_get(iv)) end end |