Class: Collie::AST::Epilogue
- Inherits:
-
Object
- Object
- Collie::AST::Epilogue
- Defined in:
- lib/collie/ast.rb
Overview
Epilogue section (code after second %%)
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#location ⇒ Object
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(code:, location: nil) ⇒ Epilogue
constructor
A new instance of Epilogue.
Constructor Details
#initialize(code:, location: nil) ⇒ Epilogue
177 178 179 180 |
# File 'lib/collie/ast.rb', line 177 def initialize(code:, location: nil) @code = code @location = location end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
175 176 177 |
# File 'lib/collie/ast.rb', line 175 def code @code end |
#location ⇒ Object
Returns the value of attribute location.
175 176 177 |
# File 'lib/collie/ast.rb', line 175 def location @location end |