Method: Lookbook.debug_data
- Defined in:
- lib/lookbook.rb
.debug_data ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 |
# File 'lib/lookbook.rb', line 208 def debug_data { version: version, env: Rails.env.to_s, config: [ config.to_h, { dependencies: { actioncable: Engine.runtime_context.actioncable_installed?, listen: Engine.runtime_context.listen_installed?, view_component: config.using_view_component } }, {panels: Engine.panels.to_h.reject { |k, v| v[:system] }}, {inputs: Engine.inputs.to_h.reject { |k, v| v[:system] }}, {tags: Engine..to_h.reject { |k, v| v[:system] }} ].inject(:merge) } end |