1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

lib/pry/code/code_file.rb: fix typo in #code

This commit is contained in:
Kyrylo Silin 2013-11-23 23:04:53 +02:00
parent e26725978c
commit 3a1dad7c3f

View file

@ -38,7 +38,7 @@ class Pry
elsif Pry::Method::Patcher.code_for(@filename)
Pry::Method::Patcher.code_for(@filename)
elsif RbxPath.is_core_path?(@filename)
File.read(RbxPath.convert_path_to_full(filename))
File.read(RbxPath.convert_path_to_full(@filename))
else
abs_path = abs_path(@filename)
@code_type = type_from_filename(abs_path)