summaryrefslogtreecommitdiff
path: root/lib/irb/help.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/help.rb')
-rw-r--r--lib/irb/help.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/help.rb b/lib/irb/help.rb
index 4921de6ec9..131e86b4dc 100644
--- a/lib/irb/help.rb
+++ b/lib/irb/help.rb
@@ -7,7 +7,7 @@
#
# --
#
-#
+#
#
module IRB
@@ -23,7 +23,7 @@ module IRB
next
end
space_line = false
-
+
l.sub!(/#.*$/, "")
next if /^\s*$/ =~ l
lc.puts l