Exception: RubyApp::Exceptions::AssertFailedException

Inherits:
RubyApp::Exception show all
Defined in:
lib/ruby_app/exceptions/assert_failed_exception.rb

Instance Method Summary collapse

Methods included from Mixins::TranslateMixin

#localize, #translate

Constructor Details

#initialize(name) ⇒ AssertFailedException

Returns a new instance of AssertFailedException.



8
9
10
# File 'lib/ruby_app/exceptions/assert_failed_exception.rb', line 8

def initialize(name)
  super(RubyApp::Exceptions::AssertFailedException.translate.message(name))
end