Skip to content
Browse files

Forgot to remove ‘define method’ methods on Class.

  • Loading branch information...
1 parent 8cd7fdd commit 87e781fb6ee110c6be23388c23cf947487384608 @alloy committed Aug 13, 2012
Showing with 0 additions and 20 deletions.
  1. +0 −20 app/managed_object.rb
View
20 app/managed_object.rb
@@ -1,23 +1,3 @@
-class Class
- def defineClassMethod(name, &block)
- # This is really only needed if/when we need to eval it in the context of
- # the instance. Until then we'll optimize by simply using the block as
- # passed by the caller and let the code there deal with it.
- #
- #ClassExt.defineRubyClassMethod(lambda { |_self| _self.instance_eval(&block) }, withSelector:name, onClass:self)
- ClassExt.defineRubyClassMethod(block, withSelector:name, onClass:self)
- end
-
- def defineInstanceMethod(name, &block)
- # This is really only needed if/when we need to eval it in the context of
- # the instance. Until then we'll optimize by simply using the block as
- # passed by the caller and let the code there deal with it.
- #
- #ClassExt.defineRubyInstanceMethod(lambda { |_self| _self.instance_eval(&block) }, withSelector:name, onClass:self)
- ClassExt.defineRubyInstanceMethod(block, withSelector:name, onClass:self)
- end
-end
-
module MotionData
module CoreTypes

0 comments on commit 87e781f

Please sign in to comment.
Something went wrong with that request. Please try again.