結果 : ruby check if function exists