Skip to content

Commit

Permalink
Add documentation for Location#source!
Browse files Browse the repository at this point in the history
  • Loading branch information
nixme authored and kddnewton committed Feb 24, 2024
1 parent 9f00fe7 commit 467e1cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/prism/parse_result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def self.null

private

# Access the associated source, raising if not present.
def source!
source or raise "Missing source"
end
Expand Down

0 comments on commit 467e1cc

Please sign in to comment.