HelmaOnRails
RubyOnRails is for the largest part a collection of useful helpers written in ruby.
http://api.rubyonrails.com/
so why not do this also for Helma?
for a first try i started with:
ActiveSupport::CoreExtensions::Integer::EvenOdd
ActiveSupport::CoreExtensions::Numeric::Bytes
ActiveSupport::CoreExtensions::Numeric::Time
ActiveSupport::CoreExtensions::Time::Calculations
and it works great:
the syntax is not that lean, like in ruby, but it works.
btw: Here you will find a great site about using dates in Javascript
http://api.rubyonrails.com/
so why not do this also for Helma?
for a first try i started with:
ActiveSupport::CoreExtensions::Integer::EvenOdd
ActiveSupport::CoreExtensions::Numeric::Bytes
ActiveSupport::CoreExtensions::Numeric::Time
ActiveSupport::CoreExtensions::Time::Calculations
and it works great:
((2).minutes() + (3).days()).fromNow().format("dd.MM.yyyy HH:mm:ss")
=> 12.01.2006 20:42:15the syntax is not that lean, like in ruby, but it works.
btw: Here you will find a great site about using dates in Javascript
matthias - 9. Jan, 20:41








