var = 'Java'def var'Ruby'end"Learn #{self.var}"
Standard input is empty
Standard output is empty
prog.rb:5:in `<main>': private method `var' called for main:Object (NoMethodError)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!