Class: Riml::BreakNode

Inherits:
KeywordNode show all
Defined in:
lib/nodes.rb

Constant Summary

Constants included from Visitable

Visitable::DESCENDANT_OF_REGEX

Instance Attribute Summary

Attributes inherited from KeywordNode

#value

Attributes included from Visitable

#compiled_output, #force_newline, #parent_node, #scope

Instance Method Summary collapse

Methods included from Visitable

#accept, #method_missing, #respond_to?

Constructor Details

#initializeBreakNode

Returns a new instance of BreakNode.



288
# File 'lib/nodes.rb', line 288

def initialize() super("break\n") end

Dynamic Method Handling

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