Module: EacRubyUtils::Speaker::Receiver

Extended by:
AbstractMethods
Defined in:
lib/eac_ruby_utils/speaker/receiver.rb

Instance Method Summary collapse

Instance Method Details

#error(_string) ⇒ Object



10
11
12
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 10

def error(_string)
  raise_abstract_method(__FILE__)
end

#fatal_error(string) ⇒ Object



14
15
16
17
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 14

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

#info(_string) ⇒ Object



24
25
26
# File 'lib/eac_ruby_utils/speaker/receiver.rb', line 24

def info(_string)
  raise_abstract_method(__FILE__)
end

#infom(_string) ⇒ Object



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

def infom(_string)
  raise_abstract_method(__FILE__)
end

#infov(*_args) ⇒ Object



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

def infov(*_args)
  raise_abstract_method(__FILE__)
end

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

See Also:

  • Sender.input


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

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

#out(_string = '') ⇒ Object



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

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

#puts(_string = '') ⇒ Object



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

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

#success(_string) ⇒ Object



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

def success(_string)
  raise_abstract_method(__FILE__)
end

#title(_string) ⇒ Object



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

def title(_string)
  raise_abstract_method(__FILE__)
end

#warn(_string) ⇒ Object



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

def warn(_string)
  raise_abstract_method(__FILE__)
end