Hacker News new | ask | show | jobs
by hlasdjlfhalwjk 1983 days ago
A little bit more than 100 LoC (`cloc lib bin` gives me 147 lines of Ruby) but still nice work.
1 comments

That should be `cloc exe lib`. `bin` has distribution-related auto generated scripts. The actual entry point script is in `lib`.

From the sloc count on GitHub just the server file alone is listed as 149.

This also uses WEBrick to do the HTTP parsing. The webrick gem is no longer bundled with Ruby as of 3.0.0.