Design Patterns-ruby Design Pattern by Ruby(2.1.2). Go to the pattern menu, and run the run.rb file with "ruby" command. e.g. cd simple-factory/ ruby run.rb 1 + 2 or ruby run.rb 1 * 2 ...