mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
8b8cc01229
commit
16f5d63bad
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ module IRB
|
||||||
end
|
end
|
||||||
ruby_model = RubyModel.new
|
ruby_model = RubyModel.new
|
||||||
print "\e[?1049h"
|
print "\e[?1049h"
|
||||||
(0..).each do |i|
|
0.step do |i| # TODO (0..).each needs Ruby 2.6 or later
|
||||||
buff = canvas.draw do
|
buff = canvas.draw do
|
||||||
ruby_model.render_frame(i) do |p1, p2|
|
ruby_model.render_frame(i) do |p1, p2|
|
||||||
canvas.line(p1, p2)
|
canvas.line(p1, p2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue