diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-04 10:51:09 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-04 10:51:09 +0900 |
| commit | b01bb33b75e43ca68c70d7cabb53dc1718603541 (patch) | |
| tree | d8ca8923ace8c47e489a2621caa5ed2ae815b5ff /mrbgems/mruby-string-ext/src | |
| parent | 04962ca0751f8af669b3b0f08d4ac5d9442b7e59 (diff) | |
| download | mruby-b01bb33b75e43ca68c70d7cabb53dc1718603541.tar.gz mruby-b01bb33b75e43ca68c70d7cabb53dc1718603541.zip | |
fix String#lines comment; ref mattn@2e1855a
Diffstat (limited to 'mrbgems/mruby-string-ext/src')
| -rw-r--r-- | mrbgems/mruby-string-ext/src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-string-ext/src/string.c b/mrbgems/mruby-string-ext/src/string.c index 60147ee9b..f04f12c4b 100644 --- a/mrbgems/mruby-string-ext/src/string.c +++ b/mrbgems/mruby-string-ext/src/string.c @@ -199,7 +199,7 @@ mrb_str_chr(mrb_state *mrb, mrb_value self) * Returns strings per line; * * a = "abc\ndef" - * a.lines #=> ["abc", "def"] + * a.lines #=> ["abc\n", "def"] */ static mrb_value mrb_str_lines(mrb_state *mrb, mrb_value self) |
