Загрузка...

Metaprogramming Ruby 2



Рейтинг:
Добавить в избранные:
Автор:
Категория: Программирование
Страниц: 94
Скачать Epub файл
Загрузка...

1. Metaprogramming Ruby 2
3. For the Best Reading Experience...
4.
5. Table of Contents
6. What Readers Are Saying About Metaprogramming Ruby 2
7. Foreword
8. Acknowledgments
9. Introduction
10. About This Book
11. About You
12. Part 1: Metaprogramming Ruby
13. Chapter 1: The M Word
14. Ghost Towns and Marketplaces
15. The Story of Bob, Metaprogrammer
16. Metaprogramming and Ruby
17. Chapter 2: Monday: The Object Model
18. Open Classes
19. Inside the Object Model
20. Quiz: Missing Lines
21. What Happens When You Call a Method?
22. Quiz: Tangle of Modules
23. Wrap-Up
24. Chapter 3: Tuesday: Methods
25. A Duplication Problem
26. Dynamic Methods
27. method_missing
28. Quiz: Bug Hunt
29. Blank Slates
30. Wrap-Up
31. Chapter 4: Wednesday: Blocks
32. The Day of the Blocks
33. Quiz: Ruby#
34. Blocks Are Closures
35. instance_eval()
36. Callable Objects
37. Writing a Domain-Specific Language
38. Quiz: A Better DSL
39. Wrap-Up
40. Chapter 5: Thursday: Class Definitions
41. Class Definitions Demystified
42. Quiz: Class Taboo
43. Singleton Methods
44. Singleton Classes
45. Quiz: Module Trouble
46. Method Wrappers
47. Quiz: Broken Math
48. Wrap-Up
49. Chapter 6: Friday: Code That Writes Code
50. Coding Your Way to the Weekend
51. Kernel#eval
52. Quiz: Checked Attributes (Step 1)
53. Quiz: Checked Attributes (Step 2)
54. Quiz: Checked Attributes (Step 3)
55. Quiz: Checked Attributes (Step 4)
56. Hook Methods
57. Quiz: Checked Attributes (Step 5)
58. Wrap-Up
59. Chapter 7: Epilogue
60. Part 2: Metaprogramming in Rails
61. Chapter 8: Preparing for a Rails Tour
62. Ruby on Rails
63. Installing Rails
64. The Rails Source Code
65. Chapter 9: The Design of Active Record
66. A Short Active Record Example
67. How Active Record Is Put Together
68. A Lesson Learned
69. Chapter 10: Active Support’s Concern Module
70. Rails Before Concern
71. ActiveSupport::Concern
72. A Lesson Learned
73. Chapter 11: The Rise and Fall of alias_method_chain
74. The Rise of alias_method_chain
75. The Fall of alias_method_chain
76. A Lesson Learned
77. Chapter 12: The Evolution of Attribute Methods
78. Attribute Methods in Action
79. A History of Complexity
80. A Lesson Learned
81. Chapter 13: One Final Lesson
82. Metaprogramming Is Just Programming
83. Part 3: Appendixes
84. Appendix 1: Common Idioms
85. Mimic Methods
86. Nil Guards
87. Self Yield
88. Symbol#to_proc()
89. Appendix 2: Domain-Specific Languages
90. The Case for Domain-Specific Languages
91. Internal and External DSLs
92. DSLs and Metaprogramming
93. Appendix 3: Spell Book
94. The Spells
95. You May Be Interested In…
Загрузка...