summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xAB <0xAB@protonmail.com>2017-09-01 15:27:59 +0100
committer0xAB <0xAB@protonmail.com>2017-09-01 15:28:42 +0100
commit6c8104de9a400f98f5ad824483afc4b790cc799d (patch)
treebed932efb0710699a1fd4b98db52f218de4207f7
parent071253624d68eecf2e45754ac2657b1bfec189f9 (diff)
downloadpry-6c8104de9a400f98f5ad824483afc4b790cc799d.tar.gz
reverse 'private' visibility of BaseHelper methods included into Pry#helpers
-rw-r--r--lib/pry/pry_instance.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pry/pry_instance.rb b/lib/pry/pry_instance.rb
index c4664505..24d88e15 100644
--- a/lib/pry/pry_instance.rb
+++ b/lib/pry/pry_instance.rb
@@ -100,6 +100,8 @@ class Pry
include Pry::Helpers::BaseHelpers
define_method(:_pry_) { this }
extend self
+ public_class_method *Pry::Helpers::BaseHelpers.methods(false)
+ public *Pry::Helpers::BaseHelpers.methods(false)
end
}.call
end