THE BOOK OF RUBY

THE BOOK OF RUBY

The book is divided up into bite-sized chunks. Each chapter introduces a theme which is subdivided into sub-topics. Each programming topic is accompanied by one or more small self-contained, ready-to-run Ruby programs.
If you want to follow a well-structured ‘course’, read each chapter in sequence. If you prefer a more hands-on approach, you can run the programs first and refer to the text when you need an explanation. If you already have some experience of Ruby, feel free to cherry-pick topics in any order that you find useful. There are no monolithic applications in this book so you don’t have to worry that you might ‘lose the plot’ if you read the chapters out of order!

Autor

Idioma

English

Índice

  • ABOUT THE AUTHOR
  • INTRODUCTION
  • CHAPTER ONE Strings, Numbers, Classes and Objects
  • CHAPTER TWO Class Hierarchies, Attributes and Class Variables
  • CHAPTER THREE Strings and Ranges
  • CHAPTER FOUR Arrays and Hashes
  • CHAPTER FIVE Loops and Iterators
  • CHAPTER SIX Conditional Statements
  • CHAPTER SEVEN Methods
  • CHAPTER EIGHT Passing Arguments and Returning Values
  • CHAPTER NINE Exception Handling
  • CHAPTER TEN Blocks, Procs and Lambdas
  • CHAPTER ELEVEN Symbols
  • CHAPTER TWELVE Modules and Mixins
  • CHAPTER THIRTEEN Files and IO
  • CHAPTER FOURTEEN YAML
  • CHAPTER FIFTEEN Marshal
  • CHAPTER SIXTEEN Regular Expressions
  • CHAPTER SEVENTEEN Threads
  • CHAPTER EIGHTEEN Debugging and Testing
  • CHAPTER NINETEEN Ruby On Rails
  • CHAPTER TWENTY Dynamic Programming
  • APPENDICES
  • INDEX