Sha256: 1496f74549a48be3f91f43de5df57ff2b03479111bc79a4be9422bb37fdd79a7

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 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_rails-0.1.0 lib/logux/test/store.rb