How to call a symbol method in Ruby