Class: EacRubyUtils::Rspec::StubSpeaker
- Includes:
- Speaker::Receiver
- Defined in:
- lib/eac_ruby_utils/rspec/stub_speaker.rb
Instance Method Summary collapse
- #error(_string) ⇒ Object
- #fatal_error(string) ⇒ Object
- #info(_string) ⇒ Object
- #infom(_string) ⇒ Object
- #infov(*_args) ⇒ Object
- #input(_question, _options = {}) ⇒ Object
- #out(_string = '') ⇒ Object
- #puts(_string = '') ⇒ Object
- #success(_string) ⇒ Object
- #title(_string) ⇒ Object
- #warn(_string) ⇒ Object
Methods included from ActsAsAbstract
Instance Method Details
#error(_string) ⇒ Object
10 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 10 def error(_string); end |
#fatal_error(string) ⇒ Object
12 13 14 15 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 12 def fatal_error(string) error(string) raise('Fatal error') end |
#info(_string) ⇒ Object
22 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 22 def info(_string); end |
#infom(_string) ⇒ Object
24 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 24 def infom(_string); end |
#infov(*_args) ⇒ Object
26 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 26 def infov(*_args); end |
#input(_question, _options = {}) ⇒ Object
18 19 20 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 18 def input(_question, = {}) raise 'Input requested' end |
#out(_string = '') ⇒ Object
28 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 28 def out(_string = ''); end |
#puts(_string = '') ⇒ Object
30 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 30 def puts(_string = ''); end |
#success(_string) ⇒ Object
32 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 32 def success(_string); end |
#title(_string) ⇒ Object
34 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 34 def title(_string); end |
#warn(_string) ⇒ Object
36 |
# File 'lib/eac_ruby_utils/rspec/stub_speaker.rb', line 36 def warn(_string); end |