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_ruby_utils-0.107.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.44.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.43.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.107.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.42.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.41.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.40.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.39.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.106.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.106.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.38.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.37.2 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.105.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.37.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.37.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.36.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.36.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.35.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.34.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.33.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb