Exception: AhoyCaptain::Widget::WidgetDisabled
- Inherits:
-
StandardError
- Object
- StandardError
- AhoyCaptain::Widget::WidgetDisabled
- Defined in:
- app/models/ahoy_captain/widget.rb
Instance Attribute Summary collapse
-
#frame ⇒ Object
readonly
Returns the value of attribute frame.
Instance Method Summary collapse
-
#initialize(msg, frame = nil) ⇒ WidgetDisabled
constructor
A new instance of WidgetDisabled.
Constructor Details
#initialize(msg, frame = nil) ⇒ WidgetDisabled
Returns a new instance of WidgetDisabled.
5 6 7 8 |
# File 'app/models/ahoy_captain/widget.rb', line 5 def initialize(msg, frame = nil) @frame = frame super(msg) end |
Instance Attribute Details
#frame ⇒ Object (readonly)
Returns the value of attribute frame.
4 5 6 |
# File 'app/models/ahoy_captain/widget.rb', line 4 def frame @frame end |