Skip to content

Commit

Permalink
each already defined by def_delegators
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Feb 1, 2010
1 parent 40390a7 commit 487cd57
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions persistable.rb
Expand Up @@ -32,10 +32,6 @@ def store
end
end

def each(&block)
store.each(&block)
end

def_delegators :store, :classify, :clear, :delete, :delete?, :delete_if, :each, :empty?, :include?, :size, :to_a

# Not #length or #size since #count seems closer to the search domain
Expand Down

0 comments on commit 487cd57

Please sign in to comment.