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.124.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.97.2 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.123.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.121.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.120.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.76.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.76.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.75.2 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.119.2 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.75.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.75.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.119.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.74.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.74.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.73.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.119.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.72.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.118.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.118.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.70.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb