The SMS Responder below demonstrates how to declare hash properties as methods in Ruby. This can be convenient if you have long if/elsif/else or case statements in your Ruby code. For example:
if x == "a"
do_something(args)
elsif x == "b"
do_something_else(args)
# remainder of long if/elsif block