Class: Lap::Constant
- Inherits:
-
Object
- Object
- Lap::Constant
- Defined in:
- lib/lap/constant.rb
Instance Method Summary collapse
-
#initialize(node, indent_level) ⇒ Constant
constructor
A new instance of Constant.
- #render ⇒ Object
Constructor Details
#initialize(node, indent_level) ⇒ Constant
Returns a new instance of Constant.
5 6 7 8 |
# File 'lib/lap/constant.rb', line 5 def initialize(node, indent_level) @node = node @indent_level = indent_level end |