Added common methods to RubyValue.prototype

Clean up