Ruby best practices /
Ruby Best Practices is for programmers who want to use Ruby the way Rubyists do. Written by the developer of the Ruby project Prawn (prawn.majesticseacreature.com), this concise book explains how to design beautiful APIs and domain-specific languages, work with functional programming ideas and techn...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, Calif. :
O'Reilly Media, Inc.,
©2009.
|
Edición: | 1st ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Ruby Best Practices; Preface; About This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; 1. Driving Code Through Tests; Designing for Testability; Testing Fundamentals; Testing Exceptions; Run the Whole Suite at Once; Advanced Testing Techniques; Testing Complex Output; Keeping Things Organized; Test Helpers; Custom Assertions; Conclusions; 2. Designing Beautiful APIs; Ruby's Secret Power: Flexible Argument Processing; Ordinal Arguments with Optional Parameters; Pseudo-Keyword Arguments; Treating Arguments As an Array.