puts 4.methods.include?(dup)puts 4.respond_to?(:dup)
Standard input is empty
false true
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!