Ruby Method Encapsulation Alternative