Class: NdrImport::Helpers::File::XmlStreaming::Cursor::StackItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/ndr_import/helpers/file/xml_streaming.rb

Overview

wrapper to hold a representation of each element we descent into:

Instance Attribute Summary collapse

Instance Attribute Details

#attrsObject

Returns the value of attribute attrs

Returns:

  • (Object)

    the current value of attrs



34
35
36
# File 'lib/ndr_import/helpers/file/xml_streaming.rb', line 34

def attrs
  @attrs
end

#emptyObject

Returns the value of attribute empty

Returns:

  • (Object)

    the current value of empty



34
35
36
# File 'lib/ndr_import/helpers/file/xml_streaming.rb', line 34

def empty
  @empty
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



34
35
36
# File 'lib/ndr_import/helpers/file/xml_streaming.rb', line 34

def name
  @name
end