WGR

Run Settings
LanguageRuby
Language Version
Run Command
module Stacklike def stack @stack ||= [] end def add_to_stack(obj) stack.push(obj) end def take_from_stack stack.pop end end
require_relative "stacklike" class Stack include Stacklike end s = Stack.new s.add_to_stack("item one") s.add_to_stack("item two") s.add_to_stack("item three") puts "Objects currently on the stack:" puts s.stack
Editor Settings
Theme
Key bindings
Full width
Lines