Sha256: 4eeacf81aac750d603375180f99a6236bc5da4b733619b643dcedae77dc8cf31
Contents?: true
Size: 562 Bytes
Versions: 11
Compression:
Stored size: 562 Bytes
Contents
Gretel::Renderer.class_eval do def options_for_render_with_show_root_alone(options = {}) options = options_for_render_without_show_root_alone(options) if show_root_alone = options.delete(:show_root_alone) Gretel.show_deprecation_warning "The :show_root_alone option is deprecated and will be removed in Gretel v4.0.0. Use `breadcrumbs(display_single_fragment: #{show_root_alone.inspect})` instead." options[:display_single_fragment] = show_root_alone end options end alias_method_chain :options_for_render, :show_root_alone end
Version data entries
11 entries across 11 versions & 1 rubygems