更新时间:2021-06-11 13:05:02
封面
版权页
Preface
About
About the Book
1. Writing and Running Ruby Programs
Introduction
Interactive Ruby Shell (IRB)
Standard Data Types
Summary
2. Ruby Data Types and Operations
Arrays
Hashes
Ruby Methods
3. Program Flow
Boolean Operators
Comparison
The Ternary Operator
Loops
4. Ruby Methods
The Basic Structure of the Ruby Method
Return Values
The Splat Operator
Duck Typing
Sending a Message
5. Object-Oriented programming with Ruby
Classes and Objects
Getters and Setters
Inheritance
Encapsulation
6. Modules and Mixins
Including Modules
extend
Module Methods
Namespaces
prepend
7. Introduction to Ruby Gems
RubyGems and the require Method
Using Gems in Your Code
File I/O
Handling CSV Data
Writing Data
Service Objects
8. Debugging with Ruby
Logging and Debugging
Basic Logging
Debugging
9. Ruby Beyond the Basics l
Metaprogramming
10. Ruby Beyond the Basics ll
Metaprogramming – A Deep Dive
HTTP Requests
Creating a Ruby Gem
11. Introduction to Ruby on Rails l
Generating Our First Rails App
Anatomy of a Rails application
Models Migrations and Databases
The Rails Console
12. Introduction to Ruby on Rails ll
Associations
Validations
Appendix
5. Object-Oriented Programming with Ruby
9. Ruby Beyond the Basics I
10. Ruby Beyond the Basics II
11. Introduction to Ruby on Rails I
12. Introduction to Ruby on Rails II