Checking for ruby magic