Daniela you should try the method finder open it and select the example in the dropbox
then you can type examples and see if a method already implement it for example ‘abcab’ . ‘a’ . ‘bcb' shows that copyWithoutAll: is the method. but it expects a character as second argument ‘abcab’ . $a . ‘bcb’ Stef On 24 Feb 2014, at 18:30, Daniela Meneses <daniela11...@gmail.com> wrote: > Hi to all, > > As you may know I'm working on in some improvements for the String class. > Until now I implemented some missing tests. Right now I'm looking forward to > add new methods that could be useful based on Ruby API > (http://www.ruby-doc.org/core-2.1.0/String.html). These are a few of the > methods that I'm planning to implement: > > chomp(separator=$/) -> new_str > chop() -> new_str > ljust(integer, padstr='') ->new_str > next -> new_str > partition(sep) -> [head, sep, tail] > > Could you help to find out if these methods are already available for the > String class? > > If you have any idea of new methods for the string class, will be really > welcome. > > -- > Cheers, > Daniela Meneses