lib/lookbook/parser.rb in lookbook-0.4.3 vs lib/lookbook/parser.rb in lookbook-0.4.4

- old
+ new

@@ -3,10 +3,10 @@ module Lookbook class Parser YARDOC_FILE_PATH = Rails.root.join("tmp/storage/.yardoc").to_s def initialize(paths) - @paths = paths.map { |p| "#{p}/**/*_preview.rb" } + @paths = paths.map { |p| "#{p}/**/*preview.rb" } YARD::Registry.yardoc_file = YARDOC_FILE_PATH end def parse YARD::Registry.clear