P
pedro mg
Hi,
in irb I can have access to ENV['COLUMNS'] for the # of columns in the
shell, and works fine.
But inside a script (ruby script.rb), I can't have access to that hash
key and value.
I've done a:
puts ENV.to_a
and i can not see both COLUMNS and LINES
What would be the problem ?
in irb I can have access to ENV['COLUMNS'] for the # of columns in the
shell, and works fine.
But inside a script (ruby script.rb), I can't have access to that hash
key and value.
I've done a:
puts ENV.to_a
and i can not see both COLUMNS and LINES
What would be the problem ?