Ruby C ext

How to write a C extension for Ruby using TDD (RSpec)