diff options
author | 0xAB <0xAB@protonmail.com> | 2017-08-30 22:53:38 +0100 |
---|---|---|
committer | 0xAB <0xAB@protonmail.com> | 2017-08-30 22:53:38 +0100 |
commit | 6f5a7a93817534baeb9543bff6d5fa37dd07c7f1 (patch) | |
tree | d87f83d5972152b1cfae7e6bb49118ff7adec22b | |
parent | 7cdd5e64efc2841053a12a3e291301885f8018fc (diff) | |
download | pry-6f5a7a93817534baeb9543bff6d5fa37dd07c7f1.tar.gz |
support 'include _pry_.helpers'
-rw-r--r-- | lib/pry/pry_instance.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pry/pry_instance.rb b/lib/pry/pry_instance.rb index b04eced8..d043a58c 100644 --- a/lib/pry/pry_instance.rb +++ b/lib/pry/pry_instance.rb @@ -87,8 +87,9 @@ class Pry # def helpers @helpers ||= Module.new { - extend Pry::Helpers::Text - extend Pry::Helpers::BaseHelpers + include Pry::Helpers::Text + include Pry::Helpers::BaseHelpers + extend self } end |