Class: StarlarkCompiler::AST::String
- Defined in:
- lib/starlark_compiler/ast.rb
Constant Summary
Constants inherited from Node
Instance Attribute Summary collapse
-
#str ⇒ Object
readonly
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(str) ⇒ String
constructor
A new instance of String.
Constructor Details
#initialize(str) ⇒ String
Returns a new instance of String.
101 102 103 |
# File 'lib/starlark_compiler/ast.rb', line 101 def initialize(str) @str = str end |
Instance Attribute Details
#str ⇒ Object (readonly)
Returns the value of attribute str.
100 101 102 |
# File 'lib/starlark_compiler/ast.rb', line 100 def str @str end |