Fix doc comments

This commit is contained in:
Sijawusz Pur Rahnama 2021-01-01 23:53:59 +01:00
parent 45b9cefe73
commit 7d7192ec09
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ module Backtracer
configuration: options[:configuration]?
end
# Same as `parse` but raises `ArgumentError` on error.
# Same as `parse?` but raises `ArgumentError` on error.
def parse(line : String, **options) : Backtrace::Frame
parse?(line, **options) ||
raise ArgumentError.new("Error parsing line: #{line.inspect}")

View file

@ -60,7 +60,7 @@ module Backtracer
# Directories to be recognized as part of your app. e.g. if you
# have an `engines` dir at the root of your project, you may want
# to set this to something like `/(src|engines)/`
# to set this to something like `/^(src|engines)\//`
#
# See `Frame#in_app?`
property app_dirs_pattern = /^src\//