Class: YmaParser::ResultSet

Inherits:
Object
  • Object
show all
Defined in:
lib/yma_parser.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#xmlObject (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_resultObject



11
12
13
# File 'lib/yma_parser.rb', line 11

def ma_result
  init_result(:ma_result)
end

#uniq_resultObject



15
16
17
# File 'lib/yma_parser.rb', line 15

def uniq_result
  init_result(:uniq_result)
end