module EacRubyUtils::Speaker::Sender
Public Instance Methods
infov(*args)
click to toggle source
# File lib/eac_ruby_utils/speaker/sender.rb, line 8 def infov(*args) speaker_receiver.infov(*args) end
input(question, options = {})
click to toggle source
Options:
+bool+ ([Boolean], default: +false+): requires a answer "yes" or "no". +list+ ([Hash] or [Array], default: +nil+): requires a answer from a list. +noecho+ ([Boolean], default: +false+): does not output answer.
# File lib/eac_ruby_utils/speaker/sender.rb, line 27 def input(question, options = {}) speaker_receiver.input(question, options) end
speaker_receiver()
click to toggle source
Shortcut to [EacRubyUtils::Speaker.current_receiver].
@return [EacRubyUtils::Speaker::Receiver]
# File lib/eac_ruby_utils/speaker/sender.rb, line 19 def speaker_receiver ::EacRubyUtils::Speaker.current_receiver end