lib/lookbook/preview_example.rb in lookbook-1.0.0.beta.6 vs lib/lookbook/preview_example.rb in lookbook-1.0.0.beta.7
- old
+ new
@@ -1,8 +1,8 @@
module Lookbook
class PreviewExample < Entity
attr_reader :name, :preview
- delegate :params, :position, :group, :notes, :hidden?, :source, to: :@example_inspector
+ delegate :params, :position, :group, :notes, :hidden?, :source, :tags, :tag, to: :@example_inspector
def initialize(name, preview)
@name = name
@preview = preview
@example_inspector = SourceInspector.new("#{@preview.name}##{name}")