Module: Draper::ViewHelpers::ClassMethods

Included in:
TestCase::Behavior
Defined in:
lib/draper/view_helpers.rb

Instance Method Summary collapse

Instance Method Details

#helpersHelperProxy Also known as: h

Access the helpers proxy to call built-in and user-defined Rails helpers from a class context.

Returns:



12
13
14
# File 'lib/draper/view_helpers.rb', line 12

def helpers
  Draper::ViewContext.current
end