mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/stringio/stringio.c: includes Enumerable as well as IO.
[ruby-talk:77058] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34ca2ab058
commit
7a1482c3ee
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jul 26 14:14:12 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* ext/stringio/stringio.c: includes Enumerable as well as IO.
|
||||
[ruby-talk:77058]
|
||||
|
||||
Sat Jul 26 07:00:53 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||
|
||||
* lib/erb.rb: fix % line.
|
||||
|
|
|
@ -896,6 +896,8 @@ void
|
|||
Init_stringio()
|
||||
{
|
||||
VALUE StringIO = rb_define_class("StringIO", rb_cData);
|
||||
|
||||
rb_include_module(StringIO, rb_mEnumerable);
|
||||
rb_define_alloc_func(StringIO, strio_s_allocate);
|
||||
rb_define_singleton_method(StringIO, "open", strio_s_open, -1);
|
||||
rb_define_method(StringIO, "initialize", strio_initialize, -1);
|
||||
|
|
Loading…
Reference in a new issue