Class: Masking::Cli::ErrorMessage
- Inherits:
-
Object
- Object
- Masking::Cli::ErrorMessage
- Defined in:
- lib/masking/cli/error_message.rb
Instance Method Summary collapse
-
#initialize(error_class) ⇒ ErrorMessage
constructor
A new instance of ErrorMessage.
- #message(**keyword_args) ⇒ Object
Constructor Details
#initialize(error_class) ⇒ ErrorMessage
Returns a new instance of ErrorMessage.
10 11 12 |
# File 'lib/masking/cli/error_message.rb', line 10 def initialize(error_class) @error_class = error_class end |
Instance Method Details
#message(**keyword_args) ⇒ Object
14 15 16 |
# File 'lib/masking/cli/error_message.rb', line 14 def (**keyword_args) (keyword_args) end |