Sha256: f3eba6f567fb0248b359cc2595d47aa2e764726c04c931f54692a60c2be8b803

Contents?: true

Size: 390 Bytes

Versions: 2

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Logux
  module Test
    module Matchers
      class Base
        attr_reader :expected

        def initialize(*expected)
          @expected = expected
        end

        def supports_block_expectations?
          true
        end

        private

        def pretty(obj)
          JSON.pretty_generate(obj)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
logux-rack-0.1.0 lib/logux/test/matchers/base.rb
logux_rails-0.1.0 lib/logux/test/matchers/base.rb