Skip to content

This repository is about my first footsteps with the amazing programming language ruby.

Notifications You must be signed in to change notification settings

jannesbrunner/ruby-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Workshop

This repository is all about my first footsteps with the amazing programming language Ruby!

You can find a more detailed descreption in each folder.
All the exercise in the folders are developed with the help of TDD if you can find a *test.rb file(s).

TOC

Exercises

All these following exercises got prepared and challenged by @alecsleo. Further workshops will get added here accordingly.

Playground

The very first footsteps with ruby. Playing around with the syntax and get comfy with ruby.
=> Go To Playground

Navigator

A little program that takes coordinates as input and navigates with those through a 2D-room. Made with TDD.
=> Go To Navigator

Rectangle

A tiny code for descreping a rectangle and it's methods. Made with TDD.
=> Go To Rectangle

Binary Tree

An implemantation of an ordered binary tree. Traversing via depth-first and breadth-first algorithms. Made with TDD.
=> Go to Binary Tree

Money

Money implemented via an money object that offers simple currency conversion. Made with TDD.
=> Go to Money

How to use it

Prerequisites

Almost every computer system running Windows, Mac, Linux (or other unix-like OS) can run ruby. You also don't need a GUI. For compatibility reasons please make sure you run a ruby version greater/equal 2.3.
you can check that via $ ruby -v

Setup

Windows
On Windows machines, you can use RubyInstaller or project's like cygwin. If you are running Windows 10, you can also use the Bash on Ubuntu on Windows.

Mac
On OS X machines, you can use third-party tools (rbenv and RVM).

Linux
On Linux/UNIX, you can use the package management system of your distribution or third-party tools (rbenv and RVM).

Please check https://www.ruby-lang.org/en/documentation/installation/ for further instructions.

Running

Just type $ ruby desired_file.rb to run it.

Credits

Special thanks to @alecsleo who prepared all the exercises and helped me getting started with ruby!

Check his blog out at alecsleo.github.io


jannesbrunner.de  ·  GitHub @jannesbrunner  · 

Releases

No releases published

Packages

 
 
 

Languages