Skip to content

Commit

Permalink
feature: delegate to_a, to_ary to call (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskorobicyn committed May 6, 2016
1 parent 222dc6e commit cc5c612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/findit/collections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module Collections
extend ActiveSupport::Concern

included do
delegate :each, :[], :size, :empty?, to: :call
delegate :each, :[], :size, :empty?, :to_ary, :to_a, to: :call
end

module ClassMethods
Expand Down

0 comments on commit cc5c612

Please sign in to comment.