Skip to content
A collection of Ruby scripts with notes that I've written to learn the language.
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
README.md
Rakefile
array.rb
array_list.rb
classes.rb
digital-root.rb
fibonacci.rb
hello.rb
interpolation.rb
math-with-blocks.rb
math.rb
methods-bang.rb
methods.rb
nil-false-evaluation.rb
numbers.rb
string-to_s-or-to_str.rb
string_util.rb
uid-generator.rb
unit-test-template.rb

README.md

A collection of Ruby scripts and unit tests I've written with notes to learn the language. Simple math, string, and say hello type scripts. I thought a good place to start now that I have a handle on the basics of the language is to recreate a lot of the utility methods I've seen used in AS3. While some are already built into Ruby I figured this would be good practice. I have Math max and min methods, and separate versions using yield to reuse "sandwich code" and a repeat method for strings.

You can’t perform that action at this time.