Class: Riml::KeywordNode

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

Direct Known Subclasses

BreakNode, ContinueNode, FinishNode

Constant Summary

Constants included from Visitable

Visitable::DESCENDANT_OF_REGEX

Instance Attribute Summary collapse

Attributes included from Visitable

#compiled_output, #force_newline, #parent_node, #scope

Method Summary

Methods included from Visitable

#accept, #method_missing, #respond_to?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Riml::Visitable

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



206
207
208
# File 'lib/nodes.rb', line 206

def value
  @value
end