1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

"warning: don't put space before argument parentheses" (thanks @Skulli)

This commit is contained in:
Akira Matsuda 2011-04-22 18:38:51 +09:00
parent c6e5f1b518
commit e9c5d02ec6

View file

@ -7,7 +7,7 @@ module Kaminari
def initialize(original_array, limit_val = default_per_page, offset_val = 0) #:nodoc:
@_original_array, @_limit_value, @_offset_value = original_array, limit_val, offset_val
super (original_array[offset_val, limit_val] || [])
super(original_array[offset_val, limit_val] || [])
end
# items at the specified "page"