Project

General

Profile

Feature #5678 ยป stringio.patch

MartinBosslet (Martin Bosslet), 11/28/2011 09:52 AM

View differences:

ext/stringio/stringio.c (working copy)
rb_define_method(StringIO, "reopen", strio_reopen, -1);
rb_define_method(StringIO, "string", strio_get_string, 0);
rb_define_alias(StringIO, "to_str", "string");
rb_define_method(StringIO, "string=", strio_set_string, 1);
rb_define_method(StringIO, "lineno", strio_get_lineno, 0);
rb_define_method(StringIO, "lineno=", strio_set_lineno, 1);
    (1-1/1)