Exception: Textrepo::EmptyTextError

Inherits:
Error
  • Object
show all
Defined in:
lib/textrepo/error.rb

Overview

An error raised if the given text is empty.

Instance Method Summary collapse

Constructor Details

#initializeEmptyTextError

Returns a new instance of EmptyTextError.



69
70
71
# File 'lib/textrepo/error.rb', line 69

def initialize
  super(ErrMsg::EMPTY_TEXT)
end