Skip to content

Commit

Permalink
[ruby/prism] Add documentation for Location#source!
Browse files Browse the repository at this point in the history
  • Loading branch information
nixme authored and matzbot committed Feb 24, 2024
1 parent 8fa1843 commit 66565e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/prism/parse_result.rb
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 66565e3

Please sign in to comment.