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:
parent
0bfad583f5
commit
743f76f874
1 changed files with 2 additions and 2 deletions
|
@ -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|
|
||||||
|
|
Loading…
Reference in a new issue