From 66565e36eae8a3dff53f86b3d04bf749e0b07a94 Mon Sep 17 00:00:00 2001 From: Gopal Patel Date: Tue, 9 Jan 2024 21:20:25 -0800 Subject: [PATCH] [ruby/prism] Add documentation for Location#source! https://github.com/ruby/prism/commit/467e1cc2c4 --- lib/prism/parse_result.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/prism/parse_result.rb b/lib/prism/parse_result.rb index c00059fbfe..9771da5314 100644 --- a/lib/prism/parse_result.rb +++ b/lib/prism/parse_result.rb @@ -286,6 +286,7 @@ module Prism private + # Access the associated source, raising if not present. def source! source or raise "Missing source" end