Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1536

Remove monkeypatching of Enumerable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.6
    • 1.7.7
    • ruby
    • None

    Description

      The Avro Ruby gem adds a method collect_hash to the core module Enumerable. It's bad form for a library to extend core modules like this, and it's also unnecessary (stdlib methods can do the job perfectly well).

      Attachments

        1. AVRO-1536.patch
          2 kB
          Martin Kleppmann

        Activity

          People

            martinkl Martin Kleppmann
            martinkl Martin Kleppmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: