Navigation Menu

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 authored and ecin committed Feb 2, 2010
1 parent 8f90229 commit defb78a
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 defb78a

Please sign in to comment.