First code example.
Copy over code-1 to code-2.
Implement your gem.