class TrueClass def yesno "yes" end end class FalseClass def yesno "no" end end