lib/lookbook/preview_example.rb in lookbook-1.2.1 vs lib/lookbook/preview_example.rb in lookbook-1.3.0

- old
+ new

@@ -1,8 +1,8 @@ module Lookbook class PreviewExample < Entity attr_reader :name, :preview - delegate :params, :position, :group, :notes, :hidden?, :source, :tags, :tag, to: :@example_inspector + delegate :position, :group, :notes, :hidden?, :source, :tags, :tag, to: :@example_inspector def initialize(name, preview, code_object) @name = name @preview = preview @example_inspector = SourceInspector.new(code_object, eval_scope: @preview.preview_class.new)