summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-17 08:04:34 (GMT)
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-17 08:04:34 (GMT)
commitf3a491d93271df831cadc58f02b2b67202615ee3 (patch)
tree12ebf11a765a900ec200f4c489121c1f4ca3ff4d /ext/io
parentaffa40b9ea7595b0873ce6617fa2648d093a3384 (diff)
ext/io/console/lib/console/size.rb: Fix the context of method definition
`console_size` is not a instance method but a class method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/console/lib/console/size.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/lib/console/size.rb b/ext/io/console/lib/console/size.rb
index f17206d..14b9a74 100644
--- a/ext/io/console/lib/console/size.rb
+++ b/ext/io/console/lib/console/size.rb
@@ -10,7 +10,7 @@ end
begin
require 'io/console'
rescue LoadError
- class IO
+ class << IO
alias console_size default_console_size
end
else