Skip to content

Instantly share code, notes, and snippets.

View Deanout's full-sized avatar
💭
Should be sleeping.

Dean DeHart Deanout

💭
Should be sleeping.
View GitHub Profile
@Deanout
Deanout / Blocks, Procs, Demos video
Created May 31, 2023 04:54
Code for a quick little Ruby tutorial.
new_line = "____________________________\n"
# Blocks
puts "Blocks"
my_numbers = [1, 2, 3, 4, 5]
my_numbers.each {
|number|
puts "Printing the number: #{number}"