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