Joined August 2012
·

Nick Kugaevsky

Develop. Travel. Fun. at 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
29,000 Total ProTip Views