General

Profile

sonots (Naotoshi Seo)

Issues

Projects

Activity

06/21/2017

07:43 AM Ruby trunk Feature #12694 (Closed): Want a String method to remove heading substr
Applied in changeset trunk|r59132.
----------
string.c: add String#delete_prefix and String#delete_prefix!
to remove...
07:43 AM Ruby trunk Revision 59133 (trunk): test/ruby/test_string.rb: add tests to chomp substr
* test/ruby/test_string.rb (TestString#test_chomp): add tests
to chomp substr
* test/ruby/test_string.rb (TestStri...
07:43 AM Ruby trunk Revision 59132 (trunk): string.c: add String#delete_prefix and String#delete_prefix!
to remove leading substr [Feature #12694] [fix GH-1632]
* string.c (rb_str_delete_prefix_bang): add a new method
t...

06/16/2017

02:31 PM Ruby trunk Feature #12694: Want a String method to remove heading substr
I made a ticket for String#delete_suffix https://bugs.ruby-lang.org/issues/13665
02:30 PM Ruby trunk Feature #13665 (Open): String#delete_suffix
In https://bugs.ruby-lang.org/issues/12694, we decided to have `String#delete_prefix`.
It would be nice to have `Str...
02:23 PM Ruby trunk Feature #12694: Want a String method to remove heading substr
We have String#chomp to delete suffix, but it would be nice to have the method for symmetry.
I will create another t...
06:26 AM Ruby trunk Feature #12694: Want a String method to remove heading substr
Thanks! I've changed the name to delete_prefix. https://github.com/ruby/ruby/pull/1632

05/31/2017

12:41 PM Ruby trunk Feature #12694: Want a String method to remove heading substr
\A is correct. I updated the description, thanks.
02:07 AM Ruby trunk Feature #13613: Prefer that require/require_relative/load to tell us permission error if the targ...
It is not correct. The error class is still LoadError, only error message is changed.
02:00 AM Ruby trunk Feature #13613: Prefer that require/require_relative/load to tell us permission error if the targ...
I am thinking to apply a patch like:
```
diff --git a/load.c b/load.c
index 75ac4df..a8175ca 100644
--- a/load....

Also available in: Atom