mirror of
https://github.com/DragonRidersUnite/book
synced 2024-11-16 07:47:42 +01:00
fix(ch01): don't use symbol in example
symbols are beyond the scope of the book, h/t to levi for noticing this
This commit is contained in:
parent
eb2285bb8c
commit
819479abb3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ Let's say you wanted to give a friend a cookie 🍪, you'd define a method calle
|
|||
|
||||
``` ruby
|
||||
def give_cookie(friend)
|
||||
friend.eat(:cookie)
|
||||
friend.eat("cookie")
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue