Class: Leptris::XML::Pull::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/leptris/xml/pull.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attrsObject

Returns the value of attribute attrs

Returns:

  • (Object)

    the current value of attrs



17
18
19
# File 'lib/leptris/xml/pull.rb', line 17

def attrs
  @attrs
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/leptris/xml/pull.rb', line 17

def name
  @name
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



17
18
19
# File 'lib/leptris/xml/pull.rb', line 17

def text
  @text
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



17
18
19
# File 'lib/leptris/xml/pull.rb', line 17

def type
  @type
end