Exception: IPlayer::Errors::RecognizedError

Inherits:
RuntimeError
  • Object
show all
Includes:
Translations
Defined in:
lib/iplayer/errors.rb

Constant Summary

Constants included from Translations

Translations::STRINGS

Instance Method Summary collapse

Methods included from Translations

included, #t

Instance Method Details

#to_strObject



9
10
11
# File 'lib/iplayer/errors.rb', line 9

def to_str
  t(self.class.name.split("::").last, :message => message)
end