Exception: Magic::Presenter::Helpers::MissingContext
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Magic::Presenter::Helpers::MissingContext
- Defined in:
- lib/magic/presenter/helpers.rb
Overview
The Magic::Presenter::Helpers::MissingContext exception is raised when no view context to run helpers in has been set.
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
11 12 13 14 15 16 |
# File 'lib/magic/presenter/helpers.rb', line 11 def <<~TEXT missing view context You should set Magic::Presenter.view_context first TEXT end |