Class: Fog::Parsers::Schema::NodeValue

Inherits:
Node
  • Object
show all
Defined in:
lib/ext_fog_aws/fog/parsers/schema.rb

Instance Attribute Summary

Attributes inherited from Node

#name

Instance Method Summary collapse

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from Fog::Parsers::Schema::Node

Instance Method Details

#next_resultObject



132
133
134
# File 'lib/ext_fog_aws/fog/parsers/schema.rb', line 132

def next_result
  {}
end

#next_schemaObject



128
129
130
# File 'lib/ext_fog_aws/fog/parsers/schema.rb', line 128

def next_schema
  {}
end

#update_result(value) ⇒ Object



136
137
138
139
140
141
142
# File 'lib/ext_fog_aws/fog/parsers/schema.rb', line 136

def update_result(value)
  if @index
    @result_pointer[name][@index] = cast(value)
  else
    @result_pointer[name] = cast(value)
  end
end