Sha256: 399418a28a666b3383a94aab1386b553f22400764e9d7070529814eca4cedb92

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

module MicroMicro
  module Collectible
    attr_accessor :collection

    def next_all
      collection.split(self).last
    end

    def prev_all
      collection.split(self).first
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
micromicro-4.0.0 lib/micro_micro/collectible.rb
micromicro-3.1.0 lib/micro_micro/collectible.rb
micromicro-3.0.0 lib/micro_micro/collectible.rb
micromicro-2.0.1 lib/micro_micro/collectible.rb
micromicro-2.0.0 lib/micro_micro/collectible.rb