Sha256: 4295edcda5ca1a46c95e455fbf504492413b0db6b08b4930e8a10373cd03665f

Contents?: true

Size: 180 Bytes

Versions: 6

Compression:

Stored size: 180 Bytes

Contents

module Rico
  class List < Array
    protected

    def compute_add(items)
      super(items).sort
    end

    def compute_remove(items)
      super(items).sort
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rico-0.5.0 lib/rico/list.rb
rico-0.4.0 lib/rico/list.rb
rico-0.3.0 lib/rico/list.rb
rico-0.2.0 lib/rico/list.rb
rico-0.1.0 lib/rico/list.rb
rico-0.0.1 lib/rico/list.rb