adject format on ruby class