From 13f8c1e688f3027116b7d7e38c29fd82d1317257 Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Mon, 7 Jan 2013 00:17:28 +0200 Subject: [PATCH] Code::LOC: tuple should be "reader" There is no need to expose the "writer" method. Signed-off-by: Kyrylo Silin --- lib/pry/code/loc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/code/loc.rb b/lib/pry/code/loc.rb index 7ef0a39f..1ca73c52 100644 --- a/lib/pry/code/loc.rb +++ b/lib/pry/code/loc.rb @@ -20,7 +20,7 @@ class Pry class LOC # @return [Array] - attr_accessor :tuple + attr_reader :tuple # @param [String] line The line of code. # @param [Integer] lineno The position of the +line+.