Sha256: 7724c5a20fbbaf65d037cfe1ed577e10c06fd51c4617ff40baaf9bcb4a32bbfa

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

require "classlist"

# Classlist::Remove is a classlist that removes tokens from the original
# classlist when added to it.
class Classlist::Remove < Classlist
  def merge(original)
    original.entries - entries
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
classlist-1.0.0 lib/classlist/remove.rb