Joined August 2012
·
Ava white

Nick Kugaevsky

Develop. Travel. Fun. at Self-employed
Develop. Travel. Fun.
Self-employed
·
Saint-Petersburg, Russia
·
·
·

Nope. It will assign result of ternary operation.

[1] pry(main)> foo = nil
=> nil
[2] pry(main)> bar = foo ? :truncation : :transaction
=> :transaction
Achievements
551 Karma
23,233 Total ProTip Views