This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step "Install Homebrew" do | |
console "which git" | |
result "/usr/bin/git" | |
message "If you get the result above skip to: <a href='install_rvm_and_ruby'>Install RVM</a>" | |
link "install_homebrew" | |
end | |
step "Install Git" do | |
message "Next we'll install Git, the most popular version control system in the Ruby world:" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def print_numbers | |
@file.each do |line| | |
number = clean_number([:homephone]) | |
puts number | |
end | |
end | |
def clean_number(original) | |
number = number.delete(".").delete("-").delete(" ").delete("(").delete(")") | |
#There must be a shorter way to deal with this..? |