diff options
Diffstat (limited to 'lib/irb/help.rb')
-rw-r--r-- | lib/irb/help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/help.rb b/lib/irb/help.rb index 7624d05dd4..a16626c7dd 100644 --- a/lib/irb/help.rb +++ b/lib/irb/help.rb @@ -12,7 +12,7 @@ module IRB lc = IRB.conf[:LC_MESSAGES] path = lc.find("irb/help-message") space_line = false - IRB::MagicFile.open(path){|f| + File.open(path){|f| f.each_line do |l| if /^\s*$/ =~ l lc.puts l unless space_line |