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.


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

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

Instance Method Details

#have_message?Boolean

Returns:

  • (Boolean)

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

def have_message?
  @have_message
end