1. Computing
Michael Morin

Ruby August 2013 Archive


Follow me on:

Exploring EventMachine the Fun Way

Saturday August 31, 2013
Here is a list of articles I'm working on centered on exploring evented programming with EventMachine.  I say "centered on" because the excuse to learn EventMachine is a distributed IRC ... Read More

Parsing IRC Messages

Saturday August 31, 2013
Now that you know a thing or two about the IRC protocol and how to parse structured text with named capture groups and regular expressions, let's put the two together ... Read More

IRC Messages

Saturday August 31, 2013
Before we can really start parsing IRC messages, we need to look at the IRC protocol itself.  IRC is not difficult, it's a simple single-line based protocol that can even ... Read More

Named Groups

Saturday August 31, 2013
Regular expressions get real hairy, real fast.  There's no getting around it, or is there?  Ruby's regular expression engine (called oniguruma) supports a feature called "named capture groups" that, combined ... Read More

Code Coverage Metrics with SimpleCov

Friday August 30, 2013
Code coverage metrics are an important, but often ignored, part of test-driven development. Code coverage tools like SimpleCov give you an overview of how many lines of code your tests cover, ... Read More

SimpleCov Tips and Tricks

Friday August 30, 2013
SimpleCov was a pretty simple gem and two articles more or less covered all the important parts, but here are a few tips and tricks I found useful without but ... Read More

SimpleCov Filtering and Groups

Friday August 30, 2013
Start testing a large project with SimpleCov and the first thing you'll notice is that it chucks all files into a single category in the results.  While this might be ... Read More

Simple Code Metrics with SimpleCov

Friday August 30, 2013
Code metrics are something that are easy to overlook.  They're yet another layer just to make sure you've got all your ducks in a row.  Tests tells you your code ... Read More

©2014 About.com. All rights reserved.