diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-29 17:03:27 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-29 17:03:27 +0000 |
| commit | e189a56aa50f429780d892df001c1b040831ddbc (patch) | |
| tree | 2ab8f10ea6524db3a187fb4a82c6b5b75359f5bc /string.c | |
| parent | 39a4a778a5a0254f3c444f5969d904b489db6f73 (diff) | |
| download | ruby-e189a56aa50f429780d892df001c1b040831ddbc.tar.gz ruby-e189a56aa50f429780d892df001c1b040831ddbc.tar.xz ruby-e189a56aa50f429780d892df001c1b040831ddbc.zip | |
unused function uscore_get removed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -2155,19 +2155,6 @@ rb_str_clear(VALUE str) return str; } -static VALUE -uscore_get(void) -{ - VALUE line; - - line = rb_lastline_get(); - if (TYPE(line) != T_STRING) { - rb_raise(rb_eTypeError, "$_ value need to be String (%s given)", - NIL_P(line) ? "nil" : rb_obj_classname(line)); - } - return line; -} - /* * call-seq: * str.reverse! => str |
