Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cdcarter
on Oct 18, 2015
|
parent
|
context
|
favorite
| on:
The Dynamic Def – abusing Ruby's def statement
But you almost certainly are logically preferring one side over the other! You do usdValue == cadValye.convert_to(usdValue.curr) because one of those currencies is the one your transaction is working with (in this case, USD is your goal).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: