Permalink
Browse files

Merge pull request #2 from jasonong/master

Comma hashes are deprecated in 1.9 for new syntax.
  • Loading branch information...
2 parents 54b4f5a + 00bf430 commit 371d421666f4230df02af42a24a72223c23b6f02 @0xfe committed Mar 15, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 refresher.md
View
@@ -112,9 +112,9 @@ previously established rule.
}
person = {
- :first_name, "Albert",
- :last_name, "Einstein",
- :email, "al@wormhole.com"
+ first_name: "Albert",
+ last_name: "Einstein",
+ email: "al@wormhole.com"
}
puts "The capital of India is #{capitals['India']}"
@@ -335,7 +335,7 @@ previously established rule.
end
raise "String exception"
- raise
+ raise
begin
file = open("some_file", "w")

0 comments on commit 371d421

Please sign in to comment.