diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-09-17 00:49:39 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-09-17 00:49:39 -0300 |
commit | 77bb4e303560e0712fad45e4fa07422adf662299 (patch) | |
tree | 9cbdac053cb22b27f04af3aa2d6d6a5e1ca5adf6 | |
parent | ef986a22d051f4e9046a4254c9b68c6cc39f75bd (diff) | |
download | highline-77bb4e303560e0712fad45e4fa07422adf662299.tar.gz |
Fix #155 - typo on var name
-rwxr-xr-x | lib/highline/system_extensions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highline/system_extensions.rb b/lib/highline/system_extensions.rb index 1ea27c4..7ee0d2f 100755 --- a/lib/highline/system_extensions.rb +++ b/lib/highline/system_extensions.rb @@ -235,7 +235,7 @@ class HighLine if /solaris/ =~ RUBY_PLATFORM and `stty` =~ /\brows = (\d+).*\bcolumns = (\d+)/ - [$2, $1].map { |c| x.to_i } + [$2, $1].map { |x| x.to_i } elsif `stty size` =~ /^(\d+)\s(\d+)$/ [$2.to_i, $1.to_i] else |