Module: EacRubyUtils::Speaker::Receiver

Extended by:
ActiveSupport::Concern, ActsAsAbstract
Included in:
Rspec::StubSpeaker
Defined in:
lib/eac_ruby_utils/speaker/receiver.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActsAsAbstract

abstract?

Instance Method Details

#error(_string) ⇒ Object



17
18
19
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 17

def error(_string)
  raise_abstract_method(__method__)
end

#fatal_error(string) ⇒ Object



21
22
23
24
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 21

def fatal_error(string)
  error(string)
  ::Kernel.exit 1 # rubocop:disable Rails/Exit
end

#info(_string) ⇒ Object



31
32
33
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 31

def info(_string)
  raise_abstract_method(__method__)
end

#infom(_string) ⇒ Object



35
36
37
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 35

def infom(_string)
  raise_abstract_method(__method__)
end

#infov(*_args) ⇒ Object



39
40
41
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 39

def infov(*_args)
  raise_abstract_method(__method__)
end

#input(_question, _options = {}) ⇒ Object

See Also:

  • Sender.input


27
28
29
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 27

def input(_question, _options = {})
  raise_abstract_method(__method__)
end

#out(_string = '') ⇒ Object



43
44
45
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 43

def out(_string = '')
  raise_abstract_method(__method__)
end

#puts(_string = '') ⇒ Object



47
48
49
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 47

def puts(_string = '')
  raise_abstract_method(__method__)
end

#success(_string) ⇒ Object



51
52
53
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 51

def success(_string)
  raise_abstract_method(__method__)
end

#title(_string) ⇒ Object



55
56
57
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 55

def title(_string)
  raise_abstract_method(__method__)
end

#warn(_string) ⇒ Object



59
60
61
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 59

def warn(_string)
  raise_abstract_method(__method__)
end