Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
6 Cards in this Set
- Front
- Back
how do you install a gem without installings its ri and rdoc
|
gem install rails --no-ri --no-rdoc
|
|
what options can be used with gem install to stop ri and rdoc from being installed
|
gem install rails --no-ri --no-rdoc
|
|
without installing its ri and rdoc how could you install rails using gems
|
gem install rails --no-ri --no-rdoc
|
|
what options will prevent ri and rdoc from being installed
|
gem install rails --no-ri --no-rdoc
|
|
if you called a method with a block how to you then run that block in the method
some_method {puts "hello"} |
def some_method
yield end |
|
how do you pass paramters to a block which is run in a method like so
some_method {|name| puts "hello #{name}"} def some_method # ???? end |
def some_method
yield("tony") end # hello tony |