Sha256: 1295d167c5fe086eb6b8a2df0ff54b3a10b2c9068b2b1c0d77b0660b59662730

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module Logux
  module Test
    class Store
      include ::Singleton

      def add(params)
        data << params
      end

      def data
        @data ||= []
      end

      def reset!
        @data = []
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logux-rack-0.1.0 lib/logux/test/store.rb