Sha256: 86e8262d16338de13b1f02b9e82f3303b88c651d7cb520ca64108c984bf15f7e

Contents?: true

Size: 119 Bytes

Versions: 56

Compression:

Stored size: 119 Bytes

Contents

module Enumerable
  def to_json #:nodoc:
    "[#{map { |value| ActiveSupport::JSON.encode(value) } * ', '}]"
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
backlog-0.7.1 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.10 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.11 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.12 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.2 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.3 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.4 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.5 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.6 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.7 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.8 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.7.9 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.8.0 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.8.1 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.9.0 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb
backlog-0.9.1 vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb