stylistic change
This commit is contained in:
parent
c7922c4a35
commit
91d0d39569
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue