Sha256: 55ea19974b3ccee6530c3f9b91a369557328b7411322455127f14e05d812d2e2

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

require "classlist"

# Classlist::Reset is a classlist that removes all tokens from the original
# classlist when merged.
class Classlist::Reset < Classlist
  def merge(original)
    original.entries.replace(entries)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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