Skip to content

mitch3lljones/ruby-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linked List in Ruby

Odin Project - Linked List

Table of Contents

Information

In this project, a linked list is implemented using Ruby. All the files you will need to run this are in this repository with the instructions in the instructions section. This program is built using Ruby v2.6.3p62.

Status

At this time, the project is finished.

Instructions

To run these programs, Ruby v2.6.3p62 (or a compatible version) will need to be installed. To check the version of ruby you are using, run this command in terminal:

ruby -v

If ruby is not installed, follow these instructions to install it. After ruby is installed, you should clone this repository to a place easily accessible to you using this command in terminal:

git clone https://github.com/fussykyloren/ruby-linked-list.git

Your github username and password should be requested. If not, don't worry about it. After the repository is cloned, you will need to change the directory to where the game example is saved. To to use the fibonacci programs, run this command next:

cd [LOCATION_OF_CLONED_REPOSITORY]/ruby-linked-list

Once the repository is cloned, you can run the programs. To do this, run this command:

ruby test.rb

You can modify the test.rb file to add new nodes and edit the list.