Class LanguageError
In: lib/error/language_error.rb
Parent: StandardError

This Error is raised if a language is not enabled.

Mainly used in the Language class

Methods

message   new  

Attributes

language  [RW] 

Public Class methods

[Source]

    # File lib/error/language_error.rb, line 21
21:   def initialize(language)
22:     @language = language
23:   end

Public Instance methods

[Source]

    # File lib/error/language_error.rb, line 25
25:   def message
26:     super.to_s + ': ' + @language.to_s
27:   end

[Validate]