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.
48 49 50 |
# File 'lib/kapusta/ast.rb', line 48 def initialize(items) @items = items end |
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items.
46 47 48 |
# File 'lib/kapusta/ast.rb', line 46 def items @items end |