Module: Magic::Presenter::Helpers
Overview
:nodoc:
Defined Under Namespace
Classes: MissingContext
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method) ⇒ Object (private)
38 39 40 41 42 43 44 45 |
# File 'lib/magic/presenter/helpers.rb', line 38 def method_missing(method, ...) super rescue NoMethodError __raise__ unless view_context __raise__ unless helpers.respond_to? method helpers.send(method, ...) end |