lib/ripple/document/bucket_access.rb in ripple-0.6.1 vs lib/ripple/document/bucket_access.rb in ripple-0.7.0
- old
+ new
@@ -29,10 +29,10 @@
end
# Set the bucket name for this class and its subclasses.
# @param [String] value the new bucket name
def bucket_name=(value)
- metaclass.send(:define_method, :bucket_name){ value }
+ (class << self; self; end).send(:define_method, :bucket_name){ value }
end
end
end
end