The Merb helpers also include a Time DSL similar to the one found with Rails. This allows us to go from numeric to number of seconds using methods that mimic natural language. For example:
> 1.hour
=> 3600
> 10.minutes
=> 600
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.