Class: RSX::Nodes::Element

Inherits:
Struct
  • Object
show all
Defined in:
lib/rsx/nodes.rb

Overview

, ,

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



14
15
16
# File 'lib/rsx/nodes.rb', line 14

def attributes
  @attributes
end

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



14
15
16
# File 'lib/rsx/nodes.rb', line 14

def children
  @children
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



14
15
16
# File 'lib/rsx/nodes.rb', line 14

def line
  @line
end

#self_closingObject

Returns the value of attribute self_closing

Returns:

  • (Object)

    the current value of self_closing



14
15
16
# File 'lib/rsx/nodes.rb', line 14

def self_closing
  @self_closing
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



14
15
16
# File 'lib/rsx/nodes.rb', line 14

def tag
  @tag
end