search for: todays_values_of_google

Displaying 1 result from an estimated 1 matches for "todays_values_of_google".

2009 Aug 19
0
extending models with statistic capabilities
Hi, I have several models in my app which contain several numerical attribute. Ex.: stock model; attributes: bid, ask, value,.. todays_values_of_Google = [ [#Stock: id=1, bid = 1.5, ask = 1.5, value = 1.5, time=..., ...], [#Stock: id=2, bid = 1.45, ask = 1.5, value = 1.45,..],... ] Now I would like to have some statistics. I saw the possibility of open the array class and add some functions like: Class Array def mean; blabla ; end; ... end...