Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 566 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 566 Bytes

Ruby - Examples

Program List

Language

  • hello.rb
    • classic Hello, World program
  • polyhedron.rb
    • several classes to abstract building a polyhedron and outputting it to SVG

System

  • pingClient.rb
    • creates a UDP ping client
  • webServer.rb
    • a running, multi-threaded web server

Compiling & Running Code

Run examples using the Ruby command:

e.g. for program: hello.rb

ruby hello.rb

Credit

Leon Tabak for inspiration of polyhedron.rb.