Method: Serial::ArrayBuilder#initialize
- Defined in:
- lib/serial/array_builder.rb
#initialize(context) ⇒ ArrayBuilder
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ArrayBuilder.
6 7 8 9 |
# File 'lib/serial/array_builder.rb', line 6 def initialize(context) @context = context @data = [] end |