summaryrefslogtreecommitdiff
path: root/lib/highline/import.rb
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-29 13:33:31 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-29 13:33:31 -0300
commitd1c5d73b0fc8ec38386d6fd65d9a2019e747370a (patch)
tree6ff0b7f15ea533e67a065dfbe51bcfb41b70cb9f /lib/highline/import.rb
parenta7213c16dcd2b3c78ab40ea826c1f2571493e56c (diff)
downloadhighline-d1c5d73b0fc8ec38386d6fd65d9a2019e747370a.tar.gz
Use the more specific method name (not the alias)
Diffstat (limited to 'lib/highline/import.rb')
-rw-r--r--lib/highline/import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highline/import.rb b/lib/highline/import.rb
index eb7f018..c2e6084 100644
--- a/lib/highline/import.rb
+++ b/lib/highline/import.rb
@@ -22,7 +22,7 @@ require "forwardable"
#
module Kernel
extend Forwardable
- def_delegators :HighLine, :agree, :ask, :choose, :say
+ def_instance_delegators :HighLine, :agree, :ask, :choose, :say
end
# When requiring 'highline/import' HighLine adds {#or_ask} to Object so