Module: Daemon::Command::UserInterface Deprecated
- Included in:
- Daemon::Command, BaseCommand, Options
- Defined in:
- lib/onapp/engine/command/user_interface.rb
Overview
Deprecated.
Used to encapsulate user interface
Instance Attribute Summary (collapse)
-
- (Object) err
Returns the value of attribute err.
-
- (Object) out
Returns the value of attribute out.
Instance Method Summary (collapse)
Instance Attribute Details
- (Object) err
Returns the value of attribute err
6 7 8 |
# File 'lib/onapp/engine/command/user_interface.rb', line 6 def err @err end |
- (Object) out
Returns the value of attribute out
6 7 8 |
# File 'lib/onapp/engine/command/user_interface.rb', line 6 def out @out end |
Instance Method Details
- (Object) error(message)
12 13 14 |
# File 'lib/onapp/engine/command/user_interface.rb', line 12 def error() err.puts "ERROR: #{}" end |
- (Object) say(message)
8 9 10 |
# File 'lib/onapp/engine/command/user_interface.rb', line 8 def say() out.puts "#{}" end |