Coder Social home page Coder Social logo

episode6's Introduction

Episode 6 - Block Review

Technical Stuff for things you now know.

The List

  1. class definitions
  2. Hash data-dictionary
  3. symbols and strings
  4. Instance Variables
  5. local variables
  6. requiring external files
  7. test suites
  8. Database connections
  9. Database Access (ActiveRecord)
  10. Isolated Testing
  11. class methods
  12. Array/Collection/Enumeration methods (map, select)
  13. Import from CSV (episode 4, free)
  14. Load a file into a string
  15. configuration values in YML

Panda Assignment

  1. Create a class definition for an automobile
  2. The class should have the following characteristics:
    • Should have a class method that returns the number of wheels it has
    • Should have instance variables for color, make, model, and year
    • I should be able to pass in a hash of color, make, model, and year to the class to update its variables

Tiger Assignment

  1. Create a Vehicle class that automobile inherits from
  2. Create a Motorcycle class that inherits from vehicle
  3. Show the motorcycle class overriding the vehicle's class method for number of tires

Eagle Assignment

  1. Create a class variable (@@) in the Vehicle that tracks all vehicles mde
  2. Create a class method that let's you filter the vehicles to only blue honda accords (using our enuerable filters)
  3. Do it all using TDD (of course!)

License

Copyright Jesse Wolgamott 2012, MIT License. See LICENSE

episode6's People

Contributors

jwo avatar thepomodoro avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.