Class: RSX::Nodes::Text

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

Overview

Literal markup text, already whitespace-normalized JSX style.

Instance Attribute Summary collapse

Instance Attribute Details

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



8
9
10
# File 'lib/rsx/nodes.rb', line 8

def line
  @line
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



8
9
10
# File 'lib/rsx/nodes.rb', line 8

def value
  @value
end