Sha256: 56b447bbd8e5a06be0c22d07fae35f19afb81d9fba44681fbb28b0f22c7e10da

Contents?: true

Size: 83 Bytes

Versions: 1

Compression:

Stored size: 83 Bytes

Contents

class Struct
  def as_json(options = nil)
    Hash[members.zip(values)]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_model_serializers_rails_2.3-0.9.0.pre1 lib/active_model/as_json_overrides.rb