elsifSOFTWARE: rubyif monkey banana elsif doggie bone end ruby's version of else if:
MORE INFO: add to an array in stagesSOFTWARE: rubymy_array << 'item to add' Set up an array first with:
Then you can add to it in stages like so:
Cool beans. If you've got it nested in an each/do loop, you can automatically add stuff to your array from another array or whatever:
That would dump the values one at a time from my_old_array into my_array. MORE INFO: http://www.thinkvitamin.com/features/ruby/ruby-arrayssome gem commandsSOFTWARE: rubygem install software_name list locally installed gems:
search remote repo for gems whose name contains "ra"
get a handy list of commands:
install a gem:
update a gem:
MORE INFO: http://rubygems.org/read/chapter/10 |