R
robbie
Hi, I'm very new to Ruby, and to Ruby on Rails.
I'm halfway through the pickaxe book, past all of the stuff on syntax,
and I haven't seen anything explaining the keyword parameter syntax
used extensively in rails. The syntax I mean is:
method( :keyword => "value" )
I understand how to use this, I'm just not sure where it comes from.
Am I being docile, or is this slightly weird?
Thanks
robbie
I'm halfway through the pickaxe book, past all of the stuff on syntax,
and I haven't seen anything explaining the keyword parameter syntax
used extensively in rails. The syntax I mean is:
method( :keyword => "value" )
I understand how to use this, I'm just not sure where it comes from.
Am I being docile, or is this slightly weird?
Thanks
robbie