stylistic change

This commit is contained in:
Thomas Reynolds 2014-10-20 11:19:30 -07:00
parent c7922c4a35
commit 91d0d39569

View file

@ -5,7 +5,7 @@ module Middleman
module Pagination
module ArrayHelpers
def per_page(per_page)
return enum_for(:per_page, per_page) unless block_given?
return to_enum(__method__, per_page) unless block_given?
parts = if per_page.respond_to? :call
per_page.call(dup)