Class: RSX::Nodes::Attribute

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

Overview

kind is :static (name="text"), :expression (name=ruby), :boolean (bare name) or :spread (**ruby / .....ruby).

Instance Attribute Summary collapse

Instance Attribute Details

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



24
25
26
# File 'lib/rsx/nodes.rb', line 24

def kind
  @kind
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



24
25
26
# File 'lib/rsx/nodes.rb', line 24

def line
  @line
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



24
25
26
# File 'lib/rsx/nodes.rb', line 24

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



24
25
26
# File 'lib/rsx/nodes.rb', line 24

def value
  @value
end