Class: Fog::Parsers::Schema::NodeHash
- Defined in:
- lib/ext_fog_aws/fog/parsers/schema.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize ⇒ NodeHash
constructor
A new instance of NodeHash.
- #next_result ⇒ Object
- #next_schema ⇒ Object
Methods inherited from Node
Constructor Details
#initialize ⇒ NodeHash
Returns a new instance of NodeHash.
91 92 93 94 95 96 97 98 |
# File 'lib/ext_fog_aws/fog/parsers/schema.rb', line 91 def initialize(*) super if @index @result_pointer[name][@index] = {} else @result_pointer[name] = {} end end |
Instance Method Details
#next_result ⇒ Object
104 105 106 |
# File 'lib/ext_fog_aws/fog/parsers/schema.rb', line 104 def next_result _next_schema.is_a?(Hash) ? _next_result : {} end |
#next_schema ⇒ Object
100 101 102 |
# File 'lib/ext_fog_aws/fog/parsers/schema.rb', line 100 def next_schema _next_schema.is_a?(Hash) ? _next_schema : {} end |