Class: Cecil::Node::Literal
- Inherits:
-
Cecil::Node
- Object
- Cecil::Node
- Cecil::Node::Literal
- Defined in:
- lib/cecil/node.rb
Overview
Node with source code, no placeholders, and no child nodes. Created by calling
#`(code_str)
with a string that has no placeholders.
Will not accept any placeholder values, but can receive children via #with/#[] and will replace itself with a LiteralWithChildren.