def join_to_successor(s)
raise ArgumentError, 'No successor method!' unless s.respond_to? :succ
return "#{s}#{s.succ}"
end
join_to_successor('a') # => "ab"
join_to_successor(4) # => "45"
join_to_successor(4.01)
# ArgumentError: No successor method!