Class: Pdi::Spoon::Parser
- Inherits:
-
Object
- Object
- Pdi::Spoon::Parser
- Defined in:
- lib/pdi/spoon/parser.rb
Overview
This class knows how to parse feedback from Pentaho and make sense of it.
Constant Summary collapse
- NEW_LINE =
"\n"
Instance Method Summary collapse
Instance Method Details
#version(string) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/pdi/spoon/parser.rb', line 16 def version(string) string.to_s .chomp .split(NEW_LINE) .last .to_s end |