Class: Kapusta::Vec
- Inherits:
-
Object
- Object
- Kapusta::Vec
- Defined in:
- lib/kapusta/ast.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
readonly
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize(items) ⇒ Vec
constructor
A new instance of Vec.
Constructor Details
#initialize(items) ⇒ Vec
Returns a new instance of Vec.
78 79 80 |
# File 'lib/kapusta/ast.rb', line 78 def initialize(items) @items = items end |
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items.
76 77 78 |
# File 'lib/kapusta/ast.rb', line 76 def items @items end |