Module: Ronin::UI::Output
- Defined in:
- lib/ronin/ui/output/output.rb,
lib/ronin/ui/output/helpers.rb,
lib/ronin/ui/output/terminal/raw.rb,
lib/ronin/ui/output/terminal/color.rb
Overview
Controls Output from Ronin.
Defined Under Namespace
Class Method Summary (collapse)
-
+ (Ronin::UI::Output::Handler) handler
The current Output handler.
-
+ (Object) handler=(new_handler)
Sets the current Output handler.
-
+ (Output) quiet!
Disables verbose output.
-
+ (Boolean) quiet?
Specifies whether quiet output is enabled.
-
+ (Output) silent!
Disables all output.
-
+ (Boolean) silent?
Specifies whether silent output is enabled.
-
+ (Output) verbose!
Enables verbose output.
-
+ (Boolean) verbose?
Specifies whether verbose output is enabled.
Class Method Details
+ (Ronin::UI::Output::Handler) handler
The current Output handler.
125 126 127 |
# File 'lib/ronin/ui/output/output.rb', line 125 def Output.handler @handler end |
+ (Object) handler=(new_handler)
Sets the current Output handler.
141 142 143 |
# File 'lib/ronin/ui/output/output.rb', line 141 def Output.handler=(new_handler) @handler = new_handler end |
+ (Output) quiet!
Disables verbose output.
100 101 102 103 |
# File 'lib/ronin/ui/output/output.rb', line 100 def Output.quiet! @mode = :quiet return self end |
+ (Boolean) quiet?
Specifies whether quiet output is enabled.
61 62 63 |
# File 'lib/ronin/ui/output/output.rb', line 61 def Output.quiet? @mode == :quiet end |
+ (Output) silent!
Disables all output.
112 113 114 115 |
# File 'lib/ronin/ui/output/output.rb', line 112 def Output.silent! @mode = :silent return self end |
+ (Boolean) silent?
Specifies whether silent output is enabled.
73 74 75 |
# File 'lib/ronin/ui/output/output.rb', line 73 def Output.silent? @mode == :silent end |
+ (Output) verbose!
Enables verbose output.
86 87 88 89 |
# File 'lib/ronin/ui/output/output.rb', line 86 def Output.verbose! @mode = :verbose return self end |
+ (Boolean) verbose?
Specifies whether verbose output is enabled.
49 50 51 |
# File 'lib/ronin/ui/output/output.rb', line 49 def Output.verbose? @mode == :verbose end |