Class: Thoom::DefaultOutputBuilder
- Inherits:
-
OutputBuilder
- Object
- OutputBuilder
- Thoom::DefaultOutputBuilder
- Defined in:
- lib/output_builder.rb
Overview
Sets up the default color set
Instance Attribute Summary
Attributes inherited from OutputBuilder
#colors, #response_time, #title_output
Instance Method Summary collapse
-
#initialize ⇒ DefaultOutputBuilder
constructor
A new instance of DefaultOutputBuilder.
Methods inherited from OutputBuilder
#header, #help, #quit, #request, #response, #save_response, #section, #title, #xp
Constructor Details
#initialize ⇒ DefaultOutputBuilder
Returns a new instance of DefaultOutputBuilder.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
# File 'lib/output_builder.rb', line 260 def initialize colors = { title_color: '4D7326', title_bgcolor: :white, subtitle_color: :white, subtitle_bgcolor: '4D7326', help_filename: :yellow, help_sample_request: :magenta, help_sample_url: :blue, request_method: :cyan, request_path: '813b5e', request_port_http: '813b5e', request_port_tls: '264d73', request_endpoint: :yellow, success: '277326', warning: :yellow, info: :yellow, error: 'c20f12' } super(colors) end |