Skip to content

Commit

Permalink
Add the previous_def keyword. (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamdaz authored Jan 6, 2025
1 parent 978372d commit f20a423
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/crystal_for_rubyists/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,16 +382,16 @@ Crystal added some new keywords, these can still be used as method names, but ne
#### Available keywords

```text
abstract do if nil? select union
alias else in of self unless
as elsif include out sizeof until
as? end instance_sizeof pointerof struct verbatim
asm ensure is_a? private super when
begin enum lib protected then while
break extend macro require true with
case false module rescue type yield
class for next responds_to? typeof
def fun nil return uninitialized
abstract do if nil? return uninitialized
alias else in of select union
as elsif include out self unless
as? end instance_sizeof pointerof sizeof until
asm ensure is_a? previous_def struct verbatim
begin enum lib private super when
break extend macro protected then while
case false module require true with
class for next rescue type yield
def fun nil responds_to? typeof
```

### Private methods
Expand Down

0 comments on commit f20a423

Please sign in to comment.