Sha256: 7fc47f3325e67701dec76c23ec7fb87f849bcf5be8e8e8d1320f530b33932454

Contents?: true

Size: 149 Bytes

Versions: 1

Compression:

Stored size: 149 Bytes

Contents

# frozen_string_literal: true

module ChemScanner
  class ElementMap < Hash
    def except(id)
      reject { |key, _| key == id }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chem_scanner-0.1.3 lib/chem_scanner/extension/element_map.rb