Exception: Rabbit::ThemeExit

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

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Method Summary collapse

Methods included from GetText

included

Constructor Details

#initialize(message = nil) ⇒ ThemeExit

Returns a new instance of ThemeExit.



141
142
143
144
# File 'lib/rabbit/error.rb', line 141

def initialize(message=nil)
  @have_message = !message.nil?
  super
end

Instance Method Details

#have_message?Boolean

Returns:

  • (Boolean)


146
147
148
# File 'lib/rabbit/error.rb', line 146

def have_message?
  @have_message
end