module DeprecatedDefaultStyleKey
Public Instance Methods
options_for_style(style_key)
click to toggle source
Calls superclass method
# File lib/dat_gretel/deprecated/default_style_key.rb, line 15 def options_for_style(style_key) if style_key == :default DatGretel.show_deprecation_warning "The :default style key is now called :inline. Please use `breadcrumbs style: :inline` instead or omit it, as it is the default." style_key = :inline end super(style_key) end