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.70.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.69.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.117.1 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.69.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.68.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.67.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.117.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.67.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.66.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.65.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.116.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.115.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.65.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.114.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.64.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_ruby_utils-0.113.0 lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.63.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.62.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.62.0 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
eac_tools-0.61.1 sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb