This is a port of TextMate's feature that does the same thing.
It either runs the current line or the current selection with Ruby.
This allows for quick math inside Atom among many other neat things.