Class: Dsu::Views::Shared::Success
- Defined in:
- lib/dsu/views/shared/success.rb
Constant Summary
Constants inherited from Message
Instance Method Summary collapse
-
#initialize(messages:, header: nil, options: {}) ⇒ Success
constructor
A new instance of Success.
Methods inherited from Message
Methods included from Support::ColorThemable
apply_theme, #prompt_with_options
Constructor Details
#initialize(messages:, header: nil, options: {}) ⇒ Success
Returns a new instance of Success.
9 10 11 12 13 |
# File 'lib/dsu/views/shared/success.rb', line 9 def initialize(messages:, header: nil, options: {}) = { header: header, output_stream: $stdout }.merge() super(messages: , message_type: :success, options: ) end |