RubyVal is a OS X service that allows you to calculate any text in any application.
Rescan/update the system services with
$ /System/Library/CoreServices/pbs
And dump the service list with
$ /System/Library/CoreServices/pbs -dump_pboard
| Name | Name | Last commit date | ||
|---|---|---|---|---|