f=->i{i.ord==i?(64+i).chr:i.ord-64}f.call('B')f.call(2)
Standard input is empty
Standard output is empty
prog.rb:1: syntax error, unexpected tSYMBEG, expecting '}' f=->i{i.ord==i?(64+i).chr:i.ord-64} ^
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!