Merge pull request #118 from tt/fix-typo-in-ruby

Fix typo in Ruby
This commit is contained in:
Adam Bard 2013-07-10 11:12:43 -07:00
commit 50444ed21f

View File

@ -267,7 +267,7 @@ class Human
@@species = "H. sapiens" @@species = "H. sapiens"
# Basic initializer # Basic initializer
def initialize(name, age=0): def initialize(name, age=0)
# Assign the argument to the "name" instance variable for the instance # Assign the argument to the "name" instance variable for the instance
@name = name @name = name
# If no age given, we will fall back to the default in the arguments list. # If no age given, we will fall back to the default in the arguments list.