1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
akr 8b27d153d2 * class.c (rb_define_method_id): use rb_define_notimplement_method_id
if rb_f_notimplement is given.
  (rb_define_protected_method): ditto.
  (rb_define_private_method): ditto.
  (rb_define_method): use rb_define_method_id.

* include/ruby/intern.h (rb_f_notimplement): declared.
  (rb_define_notimplement_method_id): declared.

* proc.c (method_inspect): show not-implemented.

* vm_method.c (notimplement_body): new variable.
  (rb_notimplement_body_p): new function.
  (rb_method_boundp): return false if not implemented.
  (rb_f_notimplement): new function.
  (rb_define_notimplement_method_id): new function.

* process.c (rb_f_fork): use rb_f_notimplement if not implemented.

* file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 14:17:14 +00:00
..
base64
bigdecimal
cgi
csv * test/csv/test_interface.rb, test/csv/test_serialization.rb: 2009-03-30 23:20:44 +00:00
date
dbm
digest
dl
drb
erb
etc
fileutils
gdbm
iconv
io/nonblock
json
logger
matrix
minitest
monitor
net
nkf
openssl
optparse
ostruct
pathname
rdoc
readline
rexml
rinda
ripper
rss
ruby * class.c (rb_define_method_id): use rb_define_notimplement_method_id 2009-04-16 14:17:14 +00:00
rubygems
scanf
sdbm
socket
stringio * test/stringio/test_stringio.rb (test_path): StringIO#path is no 2009-04-06 01:49:48 +00:00
strscan
uri
webrick
win32ole
xmlrpc
yaml
zlib
inlinetest.rb
runner.rb
test_delegate.rb
test_ipaddr.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_set.rb
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tsort.rb