Description |
1 online resource |
|
text file |
Contents |
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. |
Summary |
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 techniques that can simplify your code and make you more productive, write code that's readable and expressive, and much more. It's the perfect companion to The Ruby Programming Language. |
Subject |
Ruby on rails (Electronic resource)
|
|
Ruby on rails (Electronic resource) |
|
Ruby on rails (Electronic resource) |
|
Ruby (Computer program language)
|
|
Web site development.
|
|
Ruby (Langage de programmation) |
|
Sites Web -- Développement. |
|
Ruby (Computer program language) |
|
Web site development. |
|
Ruby (Computer program language) |
|
Web site development |
Other Form: |
Print version: Brown, Gregory T. Ruby best practices. 1st ed. Sebastopol, CA : O'Reilly, ©2009 0596523009 (OCoLC)299700741 |
ISBN |
9780596157487 |
|
0596157487 |
|
9780596555818 (electronic bk.) |
|
0596555814 (electronic bk.) |
|