Sha256: 12e55a181f661399925b616ad4514e3bd1533dc44d96ade8b349ee6e0cc0ac97

Contents?: true

Size: 682 Bytes

Versions: 7389

Compression:

Stored size: 682 Bytes

Contents

module RSpec
  module Core
    module Formatters
      # @api private
      # Formatter for providing message output as a fallback when no other
      # profiler implements #message
      class FallbackMessageFormatter
        Formatters.register self, :message

        def initialize(output)
          @output = output
        end

        # @private
        attr_reader :output

        # @api public
        #
        # Used by the reporter to send messages to the output stream.
        #
        # @param notification [MessageNotification] containing message
        def message(notification)
          output.puts notification.message
        end
      end
    end
  end
end

Version data entries

7,389 entries across 7,306 versions & 128 rubygems

Version Path
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.3 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.2 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.1 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.0 lib/rspec/core/formatters/fallback_message_formatter.rb
tdiary-5.0.1 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.7 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.0.beta4 lib/rspec/core/formatters/fallback_message_formatter.rb
guesswhat-1.1.0 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb
guesswhat-1.0.1 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb
guesswhat-1.0.0 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb
guesswhat-0.1.0 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.6 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.5 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.4 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.3 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.2 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.1 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb
cvss-suite-1.0.0 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/formatters/fallback_message_formatter.rb