Sha256: b723ad9beb146765b4c551bc7e0bb202f00838b421658ae253be0b796a5aca82

Contents?: true

Size: 161 Bytes

Versions: 1

Compression:

Stored size: 161 Bytes

Contents

# frozen_string_literal: true

module TJSON
  # TJSON array type
  class Array < ::Array
    def <<(obj)
      super(TJSON::Parser.value(obj))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tjson-0.1.0 lib/tjson/array.rb