ruby cleaning methods