Sha256: 87be076a2559f499c8054d1487cfc3b1117b95040736119a2d19a306cb14d02f
Contents?: true
Size: 246 Bytes
Versions: 4
Compression:
Stored size: 246 Bytes
Contents
# frozen_string_literal: true unless Array.method_defined?(:as_json) class Array # :nodoc: def as_json(options = {}) if options map { |v| v.as_json(options.dup) } else map(&:as_json) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems