Permalink
Browse files

fix negation

  • Loading branch information...
1 parent 7bb6daf commit eb43c4924e571f71cb13347af6085e28b095187b @xinuc committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Session1.md
View
@@ -259,7 +259,7 @@ If statement diawali dengan keyword `if` dan diakhiri dengan keyword `end`.
Operator `!` membalikkan nilai `true / false` suatu ekspresi.
```ruby
- if !x > y
+ if !(x > y)
puts "X tidak lebih besar dari y"
end
```

0 comments on commit eb43c49

Please sign in to comment.