r".
I could solve the problem without using regexes but I would like to
know how to solve it with regex.
I hope I was clear enough in describing the problem. I am new to
programming, and ruby is my first language.
Kind Regards,
Loren
--
You received this message because you are sub
Well, sorry but I would appreciate if you would post your own question
instead of highjacking mine.
On Apr 23, 4:31 pm, Billy Alcazar wrote:
> Please can some one show me how to stop getting emails from
> l...@ruby-forum.com
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this me
r".
I could solve the problem without using regexes but I would like to
know how to solve it with regex.
I hope I was clear enough in describing the problem. I am new to
programming, and ruby is my first language.
Kind Regards,
Loren
--
You received this message because you are sub
st_string.grep/shot/ > # From Ruby 1.9
String are not enumerable therfore it would give
# a
"no method error".
I could solve the problem without using regexes but I would like to
know how to solve it with regex.
I hope I was clear enough in
Hi,
I am new to ruby and to programming in general.
I am learning from an outdated book and just realized that the .grip
method can no longer be used on strings since ruby 1.9.
My question is could you please recommend an alternative method that I
could use instead of grep and works on strings?
e good too.
Thanks in advance for everyone who taken the time to answer this,
Kind Regards,
Loren
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To u
Hi,
I am new to programming and following Chris Pines book. There is an
exercise in the book to write a method similar to .sort that will
arrange an array of string in alphabetical order. I will paste the
exercise:
OK. So we want to sort an array of words, and we know how to find out
which of two
Thank you. I will take a look at it.
On Jan 11, 3:04 pm, Colin Law wrote:
> On 11 January 2012 11:07, Ahmy Yulrizka wrote:
>
>
>
>
>
>
>
>
>
>
>
> > Ahmy Yulrizka
>
> > On Wed, Jan 11, 2012 at 1:43 AM, Loren wrote:
>
> >> ..
I just started to teach myself ruby as a first language from Chris
Pines's book. There is a exercise to write a program that will
translate arabic numbers to old style roman numbers.
I have completed the exercise and my code is works but only if I type
in numbers that are not divisible by 5. As soo
9 matches
Mail list logo