# HG changeset patch # User IBBoard # Date 1483388324 0 # Node ID a8cac0e9b666e079b386c0a6528d5c007713b4af # Parent 3a1b8d8cd001441d7415311514fe12876a11cca3 Add first example script diff -r 3a1b8d8cd001 -r a8cac0e9b666 1-Ruby/each.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/1-Ruby/each.rb Mon Jan 02 20:18:44 2017 +0000 @@ -0,0 +1,5 @@ +#! /usr/bin/env ruby + +properties = [ 'object oriented', 'duck typed', 'productive', 'fun'] + +properties.each { | property | puts "Ruby is #{property}." } \ No newline at end of file