On Aug 25, 2011, at 4:54 PM, Tom Meinlschmidt wrote:

means bit shift

eg

8 >> 3 means shift value by 3 bits to the right .. result is 1 (8 = 1000b, after shift is 0001b = 1)

opposite is << …

1 << 3 = 8

tom

ps: in asm it is shl or shr

If first_payment_in_series_date was an Integer, then that might be the case, but I'd suspect that a Date is much more likely with that name.

Look for the documentation for Date#>>

-Rob

(posted so future readers will not be lead too far astray)


On Aug 25, 2011, at 22:12 , nate hunter wrote:

What does this ">>" mean? As in...

first_payment_in_series_date >> 3

I have never used this nor have i seen it before.

--
Posted via http://www.ruby-forum.com/.

--
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 [email protected] . To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en .

--
= = = = = = = = = ======================================================================
Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache

www.meinlschmidt.com  www.maxwellrender.cz  www.lightgems.cz
= = = = = = = = = ======================================================================

--
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- [email protected]. To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en .


Rob Biedenharn          http://agileconsultingllc.com
[email protected]
+1 513-295-4739
Skype:  rob.biedenharn


--
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to