Sha256: 18f212f35b31e66d45fede0f9883b6276a6dcb8541b1a09fac767d3929cc82f5

Contents?: true

Size: 708 Bytes

Versions: 181

Compression:

Stored size: 708 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/speaker/receiver'

module EacRubyUtils
  module Rspec
    class StubSpeaker
      include ::EacRubyUtils::Speaker::Receiver

      def error(_string); end

      def fatal_error(string)
        error(string)
        raise('Fatal error')
      end

      # @see EacRubyUtils::Speaker::Sender.input
      def input(_question, _options = {})
        raise 'Input requested'
      end

      def info(_string); end

      def infom(_string); end

      def infov(*_args); end

      def out(_string = ''); end

      def puts(_string = ''); end

      def success(_string); end

      def title(_string); end

      def warn(_string); end
    end
  end
end

Version data entries

181 entries across 181 versions & 3 rubygems

Version Path
eac_tools-0.54.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.53.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.52.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.51.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.50.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.110.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.49.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.110.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.109.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.48.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.48.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.47.2 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.109.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.47.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.108.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.47.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.46.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.45.2 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.45.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.45.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb