Coder Social home page Coder Social logo

eljefesun / learn_ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vikingeducation/learn_ruby

0.0 2.0 0.0 313 KB

a basic ruby class generated from test-first-teaching

Home Page: http://testfirst.org

Ruby 33.71% HTML 64.32% CSS 1.97%

learn_ruby's Introduction

Test First Ruby -- RSpec 3 Edition

See testfirst.org/learn_ruby for more information about how this will work. These test-first Ruby challenges have been forked from https://github.com/alexch/learn_ruby and updated to use RSpec 3 instead of RSpec 2.

On a High Level

Basically, you will fork this repository and then clone it onto your local computer. For each of the exercises, you will run the specs from the command line to see what tests you need to make pass (see the link above for more info about how to do that). You will then write the Ruby code that makes those tests pass and move on to the next exercise.

Getting Started

To get started, jump into the /00_hello directory, run bundle install from the command line to install the required libraries, and then view the hello_spec.rb file in your text editor. The comments at the top will kick things off.

Basically, this is "error-driven development"... you'll keep running tests, hitting error messages, fixing those messages, running more tests... It is meant to not only test your Ruby skills but also get you comfortable seeing big scary looking stack traces and error messages. Most of the development you do at first will be just like this. In fact, most of all development is error-driven. So get comfortable with it!

Finishing Up

When you're done, push your changes to your forked repo and then submit a pull request to this repo so we can see your solutions and verify that you've completed the exercises.

Troubleshooting

  • Don't name any of your directories with spaces in them! It will give you horribly frustrating error messages and code hates dealing with spaces. For instance:

    # BAD:
    /Documents/My Homework/ruby
    
    # GOOD:
    /Documents/my_homework/ruby
    

Credit

This is forked from https://github.com/alexch/learn_ruby, its original creator.

learn_ruby's People

Contributors

alexch avatar eljefesun avatar strychemi avatar eriktrautman avatar nchaffee 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.