cleaner parameterized ruby