module Collectible::Collection::Core

Public Class Methods

new(*items) click to toggle source
# File lib/collectible/collection/core.rb, line 15
def initialize(*items)
  @items = items.flatten
end

Public Instance Methods

hash() click to toggle source
# File lib/collectible/collection/core.rb, line 19
def hash
  { class_name: class_name, items: items }.hash
end