Skip to content

Incremental hands on learning of ruby from zero knowledge to dangerous

License

Notifications You must be signed in to change notification settings

peter-grainger/GROK-ruby

Repository files navigation

GROK-ruby

Incremental hands on learning of ruby from zero knowledge to dangerous.

Use the lessons and code together, it's the easiest way to concrete your knowledge. Most of the code found in the lessons are in this repo. This page is also a website hosted at https://grok.now.sh and a repo hosted at https://github.com/peter-grainger/GROK-ruby. Checkout the code and follow along, hack about with the examples break the test, fix them again and try the challenges.

The lessons also have links to other sites that give more insight. All sections have a tl;dr section.

Lessons

Run the examples

Run any of the examples by using the keyword ruby followed by the file name. e.g.

ruby examples/variables.rb

Prerequisites

  • Ruby v2.5+
  • Bundler

Getting Started

Clone this repository

git clone [email protected]:peter-grainger/GROK-ruby.git

Change directory into folder

cd GROK-ruby

Install gem dependencies

bundle install --binstubs

Contributing

If you want to add an example or correct something in the docs then you might want to build the html files to see if it works correctly.

To build the html files install the code_in_docs gem run the build script

WARNING: this will also deploy to now.sh make sure you don't put anything in there that you want to keep secret.

gem install code_in_docs
./build-docs.sh

About

Incremental hands on learning of ruby from zero knowledge to dangerous

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published