From a503afe87619ff82201c0a43818fa1c3f070a548 Mon Sep 17 00:00:00 2001 From: Amir Rajan Date: Sat, 7 Aug 2021 00:13:33 -0500 Subject: Samples folder synced. --- .../00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb | 10 +++++----- .../00_intermediate_ruby_primer/app/repl.rb | 0 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 samples/00_learn_ruby_optional/00_intermediate_ruby_primer/app/repl.rb (limited to 'samples/00_learn_ruby_optional') diff --git a/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb b/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb index 711ca74..6822cf3 100644 --- a/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb +++ b/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb @@ -83,8 +83,8 @@ def tick_reset_button end end -def separator - @separator = "=" * 80 +def seperator + @seperator = "=" * 80 end def tick_intro @@ -286,11 +286,11 @@ def queue_message message $gtk.args.state.messages << message last_three = [$gtk.console.log[-3], $gtk.console.log[-2], $gtk.console.log[-1]].reject_nil $gtk.console.log.clear - puts separator + puts seperator $gtk.console.log += last_three - puts separator + puts seperator puts message - puts separator + puts seperator end def console_has? message diff --git a/samples/00_learn_ruby_optional/00_intermediate_ruby_primer/app/repl.rb b/samples/00_learn_ruby_optional/00_intermediate_ruby_primer/app/repl.rb deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3