An Analysis on Ruby Optimization Techniques