Method: Jsonify::Builder#append!
- Defined in:
- lib/jsonify/builder.rb
#append!(*args) ⇒ Object
Append – pushes the given variable list objects on to the end of the JsonArray
102 103 104 105 106 107 108 |
# File 'lib/jsonify/builder.rb', line 102 def append!(*args) __array args.each do |arg| @stack[@level].add arg end self end |