#+title: Hello, to my tutorial! * Neato! :PROPERTIES: :CUSTOM_ID: Neato- :END: this is code #+BEGIN_SRC ruby def sum x, y x + y end sum 1, 33 #+END_SRC #+RESULTS: : 34 * Woah :PROPERTIES: :CUSTOM_ID: Woah :END: bye, thanks for reading * Linked Lists of length 5 #+BEGIN_SRC ruby :results output class LL attr_accessor :memory def initialize @memory = nil, nil, nil, nil, nil end def head 0 end # Exercise: Fix me! def add val @memory[0] = val end end ll = LL.new ll.add 33 p ll.memory #+END_SRC #+RESULTS: : [33, nil, nil, nil, nil]