From b69751176159d70114681f27c6c88696b29b1dc0 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 31 Dec 2020 18:45:56 -0700 Subject: [PATCH] Slight doc improvement --- src/spectator/source.cr | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/spectator/source.cr b/src/spectator/source.cr index 628db29..b09d5df 100644 --- a/src/spectator/source.cr +++ b/src/spectator/source.cr @@ -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.