mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Rename loop to rep
This commit is contained in:
parent
b9117c8619
commit
2c95c99735
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ class Pry
|
|||
|
||||
def start
|
||||
prologue
|
||||
loop
|
||||
repl
|
||||
ensure
|
||||
epilogue
|
||||
end
|
||||
|
@ -38,8 +38,8 @@ class Pry
|
|||
end
|
||||
end
|
||||
|
||||
def loop
|
||||
super do # haha
|
||||
def repl
|
||||
loop do
|
||||
case val = read
|
||||
when :control_c
|
||||
output.puts ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue