Exception: GetText::NoboundTextDomainError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- GetText::NoboundTextDomainError
- Defined in:
- lib/gettext.rb
Overview
If the textdomain isn’t bound when calling GetText.textdomain, this error is raised.
Instance Method Summary collapse
-
#initialize(domainname) ⇒ NoboundTextDomainError
constructor
A new instance of NoboundTextDomainError.
- #message ⇒ Object
Constructor Details
#initialize(domainname) ⇒ NoboundTextDomainError
Returns a new instance of NoboundTextDomainError.
36 37 38 |
# File 'lib/gettext.rb', line 36 def initialize(domainname) @domainname = domainname end |
Instance Method Details
#message ⇒ Object
39 40 41 |
# File 'lib/gettext.rb', line 39 def "#{@domainname} is not bound." end |