summaryrefslogtreecommitdiff
path: root/lib/prism
diff options
context:
space:
mode:
authorGopal Patel <[email protected]>2024-01-09 21:20:25 -0800
committergit <[email protected]>2024-02-24 03:39:26 +0000
commit66565e36eae8a3dff53f86b3d04bf749e0b07a94 ()
treee9de6662d13d676515b5ef4652679a2bb1e68c19 /lib/prism
parent8fa18435234335afbf17bda88324a620e15a4323 (diff)
[ruby/prism] Add documentation for Location#source!
https://.com/ruby/prism/commit/467e1cc2c4
-rw-r--r--lib/prism/parse_result.rb1
1 files changed, 1 insertions, 0 deletions
@@ -286,6 +286,7 @@ module Prism
private
def source!
source or raise "Missing source"
end