aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--man/irb.12
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 08dfc459f8..0d9256c84e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Feb 18 21:32:15 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * man/irb.1: fix output in EXAMPLES.
+
Thu Feb 18 21:05:47 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (sym_match_m): delegate to String#match but not
diff --git a/man/irb.1 b/man/irb.1
index 1f1800d45d..8209120230 100644
--- a/man/irb.1
+++ b/man/irb.1
@@ -143,7 +143,7 @@ Personal irb initialization.
.Dl irb(main):002:0> Ic def t(x)
.Dl irb(main):003:1> Ic x+1
.Dl irb(main):004:1> Ic end
-.Dl => nil
+.Dl => :t
.Dl irb(main):005:0> Ic t(3)
.Dl => 4
.Dl irb(main):006:0> Ic if t(3) == 4