# Ruby and Unicode
Nope, not the usual boring text encoding stuff, but this :
- #!ruby -Ku
- module Kernel
- def ∑( *args ) # Sum of
- args.inject( 0 ) { |i, j| i += j }
- end
- def √( number ) # Root of
- Math.sqrt( number )
- end
- end
- puts √(49)
- puts ∑(1,2,3,4,5)
Seriously cool. Idea stolen from here.
