Exception: Cuba::Mote::NoLayout
- Inherits:
-
StandardError
- Object
- StandardError
- Cuba::Mote::NoLayout
- Defined in:
- lib/cuba/mote.rb
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Instance Method Summary collapse
-
#initialize(instance) ⇒ NoLayout
constructor
A new instance of NoLayout.
- #message ⇒ Object
Constructor Details
#initialize(instance) ⇒ NoLayout
Returns a new instance of NoLayout.
42 43 44 |
# File 'lib/cuba/mote.rb', line 42 def initialize(instance) @instance = instance end |
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
40 41 42 |
# File 'lib/cuba/mote.rb', line 40 def instance @instance end |
Instance Method Details
#message ⇒ Object
46 47 48 |
# File 'lib/cuba/mote.rb', line 46 def "Missing Layout: Try doing #{instance.class}.settings[:layout] = 'layout'" end |