mirror of
https://gitea.invidious.io/iv-org/shard-backtracer.cr.git
synced 2024-08-15 00:53:13 +00:00
Fix doc comments
This commit is contained in:
parent
45b9cefe73
commit
7d7192ec09
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ module Backtracer
|
||||||
configuration: options[:configuration]?
|
configuration: options[:configuration]?
|
||||||
end
|
end
|
||||||
|
|
||||||
# Same as `parse` but raises `ArgumentError` on error.
|
# Same as `parse?` but raises `ArgumentError` on error.
|
||||||
def parse(line : String, **options) : Backtrace::Frame
|
def parse(line : String, **options) : Backtrace::Frame
|
||||||
parse?(line, **options) ||
|
parse?(line, **options) ||
|
||||||
raise ArgumentError.new("Error parsing line: #{line.inspect}")
|
raise ArgumentError.new("Error parsing line: #{line.inspect}")
|
||||||
|
|
|
@ -60,7 +60,7 @@ module Backtracer
|
||||||
|
|
||||||
# Directories to be recognized as part of your app. e.g. if you
|
# 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
|
# 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?`
|
# See `Frame#in_app?`
|
||||||
property app_dirs_pattern = /^src\//
|
property app_dirs_pattern = /^src\//
|
||||||
|
|
Loading…
Reference in a new issue