I just had a play around with it an numerouno is very cool (and
recognised most things I threw at it)

The only ones it failed on where, amusingly, when it was the numerical
representation (e.g. 66) - It's easy enough
do the checks in my own code but it'd be damn cool if it handled it
itself (If I remember this afternoon I'll fork it
and add it in).

Other than that, awesome.

On May 10, 3:03 pm, Brent Snook <[email protected]> wrote:
> On holiday is when you have the most free time!
>
> It's a good way to keep amused during the train trips.
>
> On 10/05/2009, at 2:43 AM, Mark Ryall <[email protected]> wrote:
>
>
>
> > Nice work Brent,
>
> > Aren't you meant to be on holiday?
>
> > On Sun, May 10, 2009 at 2:08 AM, Brent Snook <[email protected]>  
> > wrote:
>
> > Hey everyone,
>
> > I just wanted to spruik my new gem, Numerouno.
>
> >http://github.com/brentsnook/numerouno
>
> > It's a natural language parser for numbers, in a similar vein to
> > Chronic.
>
> >  require 'numerouno'
> >  'sixty five'.as_number
> >    => 65
>
> > Use it in your Cucumber step definitions to turn number phrases into
> > something easier to manipulate.
>
> > Blog post with the details 
> > ishttp://fuglylogic.com/2009/05/09/numerouno-number-parsing-for-ruby/
>
> > Cheers,
>
> > Brent.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to