lib/ykutils/hasharray.rb in ykutils-0.1.7 vs lib/ykutils/hasharray.rb in ykutils-0.1.8
- old
+ new
@@ -32,11 +32,11 @@
end
def replace(*args)
super(*args)
@ary = super.keys
- @ary ||= []
+ @replace ||= []
end
def delete(ind, &block)
@ary.delete(ind)
@@ -46,13 +46,9 @@
def delete_if(&block)
@ary.each do |it|
@ary.delete(it) if block.call(it, self[it])
end
- super
- end
-
- def reject(&block)
super
end
end
end