Class: RbEAI::TransfScript
- Inherits:
-
Object
- Object
- RbEAI::TransfScript
- Defined in:
- lib/rbeai/TransfLogic.rb
Instance Method Summary collapse
-
#initialize(xmlDoc) ⇒ TransfScript
constructor
A new instance of TransfScript.
- #transform(file) ⇒ Object
Constructor Details
#initialize(xmlDoc) ⇒ TransfScript
Returns a new instance of TransfScript.
39 40 41 |
# File 'lib/rbeai/TransfLogic.rb', line 39 def initialize(xmlDoc) @transf = _getParser(xmlDoc) end |
Instance Method Details
#transform(file) ⇒ Object
43 44 45 |
# File 'lib/rbeai/TransfLogic.rb', line 43 def transform(file) @transf.transform(file) end |