#Title: Rental App
###Type:
- Lab / Homeowrk
###Time Required:
- 2 hours+
###Prerequisites:
- Ruby
#Title: Rental App
###Type:
###Time Required:
###Prerequisites:
| data = { | |
| name: "Snoogums", | |
| weight: "130lb", | |
| taxonomy: { | |
| genus: "Boa", | |
| species: "constrictor imperator" | |
| }, | |
| location: "Brazil" | |
| } |
Create and show examples of inheritance with 3 seperate classes
has_spine? which returns truecold_blooded? which returns trueEach of these classes should be able to be given and find out its name
| require_relative "../quiz" | |
| describe "divosor" do | |
| it "takes an integer and returns an array of its divosors" do | |
| expect(divisor(6)).to eq([1,2,3,6]) | |
| expect(divisor(10)).to eq([1,2,5,10]) | |
| expect(divisor(1)).to eq([1]) | |
| expect(divisor(27)).to eq([27,9,3,1]) | |
| expect(divisor(27)).to eq([1,3,9,27]) | |
| expect(divisor(37)).to eq([1,37]) |
| { | |
| "bitwise": true, | |
| "camelcase": true, | |
| "curly": true, | |
| "eqeqeq": true, | |
| "es3": false, | |
| "forin": true, | |
| "freeze": true, | |
| "immed": true, | |
| "indent": 4, |
| test gist |
#Javascript Events
##Learning Objectives
#Introduction Any basic web app needs to use events and javascript that is triggered on pages
#Javascript Events
##Learning Objectives
#Introduction Any basic web app needs to use events and javascript that is triggered on pages
#Javascript Events
##Learning Objectives
#Introduction Any basic web app needs to use events and javascript that is triggered on pages