libraries/madeleine/automatic.rb in Pimki-1.4.092 vs libraries/madeleine/automatic.rb in Pimki-1.5.092
- old
+ new
@@ -70,10 +70,10 @@
#
# When included, redefine new so that we can return a Prox object instead, and define methods to handle
# keeping track of which methods are read only
#
def self.included(klass)
- class <<klass
+ class << klass
alias_method :_old_new, :new
def new(*args, &block)
Prox.new(_old_new(*args, &block))
end