1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

SimplePager: fix my goofy indentation (c)

This commit is contained in:
Kyrylo Silin 2013-01-24 04:27:08 +02:00
parent 0bfad583f5
commit 743f76f874

View file

@ -38,8 +38,8 @@ class Pry::Pager
class SimplePager < Pry::Pager class SimplePager < Pry::Pager
def page def page
# The pager size minus the number of lines used by the simple pager info bar. # The pager size minus the number of lines used by the simple pager info bar.
page_size = Pry::Pager.page_size - 3 page_size = Pry::Pager.page_size - 3
text_array = @text.lines.to_a text_array = @text.lines.to_a
text_array.each_slice(page_size) do |chunk| text_array.each_slice(page_size) do |chunk|