module StrongPresenter::ViewHelpers::ClassMethods

Public Instance Methods

h()
Alias for: helpers
helpers() click to toggle source

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

@return [HelperProxy] the helpers proxy

# File lib/strong_presenter/view_helpers.rb, line 15
def helpers
  StrongPresenter::ViewContext.current
end
Also aliased as: h