Skip to content

Commit c35afec

Browse files
author
matz
committed
* object.c (Init_Object): "===" calls rb_obj_equal() directly.
[ruby-list:39937] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent c04ff57 commit c35afec

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Tue Jul 27 07:05:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* object.c (Init_Object): "===" calls rb_obj_equal() directly.
4+
[ruby-list:39937]
5+
16
Mon Jul 26 11:22:55 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
27

38
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should

misc/inf-ruby.el

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
;;; (setq interpreter-mode-alist (append '(("ruby" . ruby-mode))
2222
;;; interpreter-mode-alist))
2323
;;;
24-
;;; (2) set to road inf-ruby and set inf-ruby key definition in ruby-mode.
24+
;;; (2) set to load inf-ruby and set inf-ruby key definition in ruby-mode.
2525
;;;
2626
;;; (autoload 'run-ruby "inf-ruby"
2727
;;; "Run an inferior Ruby process")
@@ -35,16 +35,20 @@
3535
;;; HISTORY
3636
;;; senda - 8 Apr 1998: Created.
3737
;;; $Log$
38+
;;; Revision 1.6.2.1 2004/07/27 07:51:28 matz
39+
;;; * object.c (Init_Object): "===" calls rb_obj_equal() directly.
40+
;;; [ruby-list:39937]
41+
;;;
3842
;;; Revision 1.6 2002/09/07 14:35:46 nobu
3943
;;; * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp
4044
;;; alist for error message from ruby.
41-
;;;
45+
;;;
4246
;;; * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs.
43-
;;;
47+
;;;
4448
;;; * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors
4549
;;; doesn't parse first line, so insert separators before each
4650
;;; evaluations.
47-
;;;
51+
;;;
4852
;;; Revision 1.5 2002/08/19 10:05:47 nobu
4953
;;; * misc/inf-ruby.el (inf-ruby-keys): ruby-send-definition
5054
;;; conflicted with ruby-insert-end.

object.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2584,6 +2584,7 @@ Init_Object()
25842584
rb_define_method(rb_cSymbol, "to_s", sym_to_s, 0);
25852585
rb_define_method(rb_cSymbol, "id2name", sym_to_s, 0);
25862586
rb_define_method(rb_cSymbol, "to_sym", sym_to_sym, 0);
2587+
rb_define_method(rb_cSymbol, "===", rb_obj_equal, 1);
25872588

25882589
rb_define_method(rb_cModule, "freeze", rb_mod_freeze, 0);
25892590
rb_define_method(rb_cModule, "===", rb_mod_eqq, 1);

0 commit comments

Comments
 (0)