module PartialMenu::ViewHelpers
PartialMenu
view helpers¶ ↑
This module serves for availability in ActionView templates. It also adds a new view helper: partial_menu
.
Public Instance Methods
Private Instance Methods
get_yaml_prefix(prefix, options)
click to toggle source
rubocop:enable Metrics/MethodLength
# File lib/partial_menu/view_helpers.rb, line 64 def get_yaml_prefix(prefix, options) options[:yaml] || prefix end