Class: Riml::ExLiteralNode

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

Constant Summary

Constants included from Visitable

Visitable::DESCENDANT_OF_REGEX

Instance Attribute Summary

Attributes inherited from LiteralNode

#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

#initializeExLiteralNode

Returns a new instance of ExLiteralNode.



269
270
271
272
# File 'lib/nodes.rb', line 269

def initialize(*)
  super
  self.force_newline = true
end

Dynamic Method Handling

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