Class: YmaParser::ResultSet
- Inherits:
-
Object
- Object
- YmaParser::ResultSet
- Defined in:
- lib/yma_parser.rb
Overview
Instance Attribute Summary collapse
-
#xml ⇒ Object
readonly
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(xml) ⇒ ResultSet
constructor
A new instance of ResultSet.
- #ma_result ⇒ Object
- #uniq_result ⇒ Object
Constructor Details
#initialize(xml) ⇒ ResultSet
Returns a new instance of ResultSet.
7 8 9 |
# File 'lib/yma_parser.rb', line 7 def initialize(xml) @xml = REXML::Document.new(xml) end |
Instance Attribute Details
#xml ⇒ Object (readonly)
Returns the value of attribute xml.
5 6 7 |
# File 'lib/yma_parser.rb', line 5 def xml @xml end |
Instance Method Details
#ma_result ⇒ Object
11 12 13 |
# File 'lib/yma_parser.rb', line 11 def ma_result init_result(:ma_result) end |
#uniq_result ⇒ Object
15 16 17 |
# File 'lib/yma_parser.rb', line 15 def uniq_result init_result(:uniq_result) end |