mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Slight doc improvement
This commit is contained in:
parent
4c6b6e6436
commit
b697511761
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ module Spectator
|
|||
end
|
||||
|
||||
# Parses a source from a string.
|
||||
# The *string* should be in the form:
|
||||
# ```text
|
||||
# FILE:LINE
|
||||
# ```
|
||||
# This matches the output of the `#to_s` method.
|
||||
def self.parse(string)
|
||||
# Make sure to handle multiple colons.
|
||||
# If this ran on Windows, there's a possibility of a colon in the path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue