結果 : ruby test if method exists