Sha256: 12e55a181f661399925b616ad4514e3bd1533dc44d96ade8b349ee6e0cc0ac97

Contents?: true

Size: 682 Bytes

Versions: 7390

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,390 entries across 7,307 versions & 128 rubygems

Version Path
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
rspec-core-3.5.0.beta3 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.0.beta2 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.4.4 lib/rspec/core/formatters/fallback_message_formatter.rb
simplenet-client-0.2.0 ./vendor/bundle/ruby/2.0.0/gems/rspec-core-3.4.2/lib/rspec/core/formatters/fallback_message_formatter.rb
simplenet-client-0.2.0 ./vendor/bundle/ruby/1.9.1/gems/rspec-core-3.4.2/lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.4.3 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.5.0.beta1 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.4.2 lib/rspec/core/formatters/fallback_message_formatter.rb
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/rspec-core-3.4.1/lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.4.1 lib/rspec/core/formatters/fallback_message_formatter.rb
rspec-core-3.4.0 lib/rspec/core/formatters/fallback_message_formatter.rb
swift-pyrite-0.1.1 vendor/bundle/ruby/2.0.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
swift-pyrite-0.1.0 vendor/bundle/ruby/2.0.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb
sublimetheme-1.0.1 path/gems/rspec-core-3.3.2/lib/rspec/core/formatters/fallback_message_formatter.rb