This repository is a collection of annotations and snippets that go along with each chapter ("day") of the book Metaprogramming Ruby by Paolo Perrotta. Aside from trivially narrow snippets ("abc".class), I have generally tried to avoid plagiarism and provide my own versions of the ideas presented in the book. In some cases I have enhanced the examples where it seemed appropriate.
Annotations that were the result of Ruby execution were produced using xmpfilter, which is part of the rcodetools gem. xmpfilter has vim and emacs bindings, and the popular rubytapas.com video series by Avdi Grimm can be viewed for a demonstration of xmpfilter in action.
Copyright Robert Qualls 2013
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.