Module: StrongPresenter::ViewHelpers::ClassMethods
- Included in:
- TestCase::Behavior
- Defined in:
- lib/strong_presenter/view_helpers.rb
Instance Method Summary collapse
-
#helpers ⇒ HelperProxy
(also: #h)
Access the helpers proxy to call built-in and user-defined Rails helpers from a class context.
Instance Method Details
#helpers ⇒ HelperProxy Also known as: h
Access the helpers proxy to call built-in and user-defined Rails helpers from a class context.
15 16 17 |
# File 'lib/strong_presenter/view_helpers.rb', line 15 def helpers StrongPresenter::ViewContext.current end |