lib/lookbook/preview_example.rb in lookbook-0.7.2.beta.0 vs lib/lookbook/preview_example.rb in lookbook-0.7.2.beta.1

- old
+ new

@@ -1,10 +1,10 @@ module Lookbook class PreviewExample include Utils attr_reader :name, :preview - delegate :params, :position, :group, :notes, :hidden?, to: :@example_inspector + delegate :params, :position, :group, :notes, :hidden?, :source, to: :@example_inspector def initialize(name, preview) @name = name @preview = preview @example_inspector = CodeInspector.new("#{@preview.name}##{name}")