diff options
| author | Amir Rajan <[email protected]> | 2021-08-07 00:13:33 -0500 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2021-08-07 00:13:33 -0500 |
| commit | a503afe87619ff82201c0a43818fa1c3f070a548 (patch) | |
| tree | 0b228a6456d17f6d0c6ea54c9ecd6a045ddbdf59 /samples/00_learn_ruby_optional | |
| parent | bea150381f495630f92f89d23d5f3445ec289b2d (diff) | |
| download | dragonruby-game-toolkit-contrib-a503afe87619ff82201c0a43818fa1c3f070a548.tar.gz dragonruby-game-toolkit-contrib-a503afe87619ff82201c0a43818fa1c3f070a548.zip | |
Samples folder synced.
Diffstat (limited to 'samples/00_learn_ruby_optional')
| -rw-r--r-- | samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb | 10 | ||||
| -rw-r--r-- | samples/00_learn_ruby_optional/00_intermediate_ruby_primer/app/repl.rb | 0 |
2 files changed, 5 insertions, 5 deletions
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 --- a/samples/00_learn_ruby_optional/00_intermediate_ruby_primer/app/repl.rb +++ /dev/null |
