Curly braces {} almost always indicate a block of code.
{
means START
}
means END
Keywords like
#RPS Lab Requirements | |
* Web Page/Web App that lets you play Rock Paper Scissors | |
* 2 Players (on the same screen) | |
* Win Logic (Tells the user who won) | |
* Custom styling (Fonts, Background, Images) | |
* Pictures for Rock, Paper, and Scissors | |
##Super Optional Bonus Challenge | |
* Play vs Computer (AI) |
require 'rails_helper' | |
RSpec.describe Item, :type => :model do | |
before(:each) do | |
@purchased_item = Item.create( | |
:name => "Item1", | |
:qty => 1, | |
:is_purchased => true | |
) | |
import UIKit | |
class ViewController: UIViewController { | |
@IBOutlet var webView: UIWebView! | |
@IBAction func goBack(sender: AnyObject) { | |
webView.goBack() | |
} | |