lib/prism/parse_result.rb in prism-0.21.0 vs lib/prism/parse_result.rb in prism-0.22.0
- old
+ new
@@ -89,10 +89,11 @@
# This represents a location in the source.
class Location
# A Source object that is used to determine more information from the given
# offset and length.
- protected attr_reader :source
+ attr_reader :source
+ protected :source
# The byte offset from the beginning of the source where this location
# starts.
attr_reader :start_offset