<commit_before>Ruby - Sample Code
==================

Program List
------------

*Language*

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

*Ruby on Rails*

-  **controller**.rb
    - Ruby on Rails, controller component of MVC framework
-  **model**.rb
    - Ruby on Rails, model component of MVC framework
-  **view**.erb
    - Ruby on Rails, view component of MVC framework (partially HTML)

*System*

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

Compiling & Running Code
------------------------

run them using the command-line version of Ruby

>  e.g. for document: **hello.rb**

> >  cd **Language/**

> >  ruby **hello.rb**

Credit
------

**<NAME>** for inspiration of *Language/polyhedron.rb*
<commit_msg>fix inconsistent style in Ruby readme<commit_after>Ruby - Sample Code
==================

Program List
------------

*Language*

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

*Ruby on Rails*

-  **controller**.rb
    - Ruby on Rails, controller component of MVC framework
-  **model**.rb
    - Ruby on Rails, model component of MVC framework
-  **view**.erb
    - Ruby on Rails, view component of MVC framework (partially HTML)

*System*

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

Compiling & Running Code
------------------------

run them using the command-line version of Ruby
>  e.g. for program: **hello.rb**

> >  cd **Language/**

> >  ruby **hello.rb**

Credit
------

**<NAME>** for inspiration of *Language/polyhedron.rb*

{'fraction_non_alphanumeric': 0.17920353982300885, 'fraction_numerical': 0.0, 'mean_word_length': 2.6693711967545637, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1013435', 'n_tokens_mistral': 567, 'n_tokens_neox': 527, 'n_words': 193}