Update MyClass for Ruby