blainekasten@gmail.com (Blaine Kasten)
- Login: blainekasten@gmail.com
- Email: blainekasten@gmail.com
- Registered on: 07/10/2014
- Last sign in: 07/10/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
07/10/2014
-
03:40 PM Ruby Bug #10024 (Rejected): Array injection of ternary operators injects boolean rather than ternary result
- The following code:
```ruby
a = []
a << ''.blank? ? 'blank' : 'not blank'
puts a
```
renders `[true]`.
I would expect it to render `['blank']`
If I wrap it in parenthesis it does work.
```ruby
a = []
a << ( ''.blank?...