Commit Graph

2 Commits

Author SHA1 Message Date
Timo J
c849e75041 More concise Rubyish code.
Hash key checking is not necessary in this case.  If a key doesn't exist in a Hash, Ruby returns nil by default and nil is falsy. Hash key checking would only be necessary if the Hash had been set up with a default value.
2019-12-08 12:03:15 +01:00
Leon Rische
4794bad93a code for chapter 5 in ruby 2016-03-03 15:43:19 +01:00