Class: Masking::Cli::ErrorMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/masking/cli/error_message.rb

Instance Method Summary collapse

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 message(**keyword_args)
  error_message(keyword_args)
end