lib/yard/parser/source_parser.rb in yard-0.6.0 vs lib/yard/parser/source_parser.rb in yard-0.6.1
- old
+ new
@@ -46,10 +46,10 @@
# @param [Array<String, Regexp>] excluded a list of excluded path matchers
# @param [Fixnum] level the logger level to use during parsing. See
# {YARD::Logger}
# @return the parser object that was used to parse the source.
def parse(paths = ["lib/**/*.rb", "ext/**/*.c"], excluded = [], level = log.level)
- log.debug("Parsing #{paths} with `#{parser_type}` parser")
+ log.debug("Parsing #{paths.inspect} with `#{parser_type}` parser")
excluded = excluded.map do |path|
case path
when Regexp; path
else Regexp.new(path.to_s, Regexp::IGNORECASE)
end