Skip to content

Commit d3d13e0

Browse files
committed
Merge pull request #119 from khyamay/gh-pages
Added missing @ for age and superpower variables
2 parents d34489f + c0318b3 commit d3d13e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ruby/lesson4/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ By overriding methods, you can change the behavior of a method defined in the su
244244

245245
```ruby
246246
def to_s
247-
"#{@name} is #{age} years old and has the superpower #{superpower}"
247+
"#{@name} is #{@age} years old and has the superpower #{@superpower}"
248248
end
249249
```
250250

0 commit comments

Comments
 (0)