mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
affa40b9ea
commit
f3a491d932
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ end
|
|||
begin
|
||||
require 'io/console'
|
||||
rescue LoadError
|
||||
class IO
|
||||
class << IO
|
||||
alias console_size default_console_size
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue