mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove Syslog#inspect and have only Syslog.inspect.
* ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton method and remove it as an instance method. [Bug #6502] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1955ac9e82
commit
e38972354a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Feb 19 13:07:25 2013 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/syslog/syslog.c (Init_syslog): Define inspect as a singleton
|
||||
method and remove it as an instance method. [Bug #6502]
|
||||
|
||||
Tue Feb 19 12:30:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* object.c: rdoc formatting for Kernel#Array()
|
||||
|
|
|
@ -446,7 +446,7 @@ void Init_syslog()
|
|||
rb_define_module_function(mSyslog, "mask", mSyslog_get_mask, 0);
|
||||
rb_define_module_function(mSyslog, "mask=", mSyslog_set_mask, 1);
|
||||
|
||||
rb_define_module_function(mSyslog, "inspect", mSyslog_inspect, 0);
|
||||
rb_define_singleton_method(mSyslog, "inspect", mSyslog_inspect, 0);
|
||||
rb_define_module_function(mSyslog, "instance", mSyslog_instance, 0);
|
||||
|
||||
/* Syslog options */
|
||||
|
|
Loading…
Reference in a new issue