Module: DeprecatedDefaultStyleKey
- Defined in:
- lib/dat_gretel/deprecated/default_style_key.rb
Instance Method Summary collapse
Instance Method Details
#options_for_style(style_key) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/dat_gretel/deprecated/default_style_key.rb', line 15 def (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 |