facade ruby implementation