Class: Riml::GetVariableNode

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

Overview

s:var var

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 QuestionVariableExistence

included, #question_existence?

Methods included from FullyNameable

#full_name, included

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

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



523
524
525
# File 'lib/nodes.rb', line 523

def name
  @name
end

#scope_modifierObject

Returns the value of attribute scope_modifier

Returns:

  • (Object)

    the current value of scope_modifier



523
524
525
# File 'lib/nodes.rb', line 523

def scope_modifier
  @scope_modifier
end