Skip to content

jon1735/steve_and_jon_first_git_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My 4 Favorite Ruby Methods

Class

Initializes an object to a global constant

Class TicTacToe

Array

Creates a collection of data in order separated by a comma

Array.new(x,y,z)

Loop

Repeatedly executes data given, labeled as a "block"

loop do 
   print "Input: "

Each

Looks through an array and executes the code on each element

e.each {|name,value| name.start_with?('b') }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5