Module: Draper::ViewHelpers::ClassMethods
- Included in:
- TestCase::Behavior
- Defined in:
- lib/draper/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.
12 13 14 |
# File 'lib/draper/view_helpers.rb', line 12 def helpers Draper::ViewContext.current end |