symbol = :symbolputs symbol.equal? :symbol str = "string" puts str.equal? "string"
Standard input is empty
true false
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!