Exception: AhoyCaptain::Widget::WidgetDisabled

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/ahoy_captain/widget.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#frameObject (readonly)

Returns the value of attribute frame.



4
5
6
# File 'app/models/ahoy_captain/widget.rb', line 4

def frame
  @frame
end