lib/rtm/javatmapi/superiseable.rb in rtm-javatmapi-0.2.1 vs lib/rtm/javatmapi/superiseable.rb in rtm-javatmapi-0.3.0

- old
+ new

@@ -21,11 +21,9 @@ def register_java_implementation(klass) self.included(klass) if self.respond_to?(:included) return unless @superized_methods @superized_methods.each do |method_name| - klass.class_eval do - define_method(method_name) { |*args| super *args} - end + klass.class_eval("def #{method_name}(*args); super; end") end end end