思维导图备注

Programming Ruby_ The Pragmatic - David Thomas; Chad Fowler; Andr
首页 收藏书籍 阅读记录
  • 书签 我的书签
  • 添加书签 添加书签 移除书签 移除书签

Case Statements

浏览 4 扫码
  • 小字体
  • 中字体
  • 大字体
2022-02-24 01:52:06
请 登录 再阅读
上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • The Book of Ruby
    • Acknowledgments
    • Introduction
      • What Is Rails?
      • Matters of Ruby Style
      • How to Read This Book
      • Digging Deeper
      • Making Sense of the Text
      • Downloading Ruby
      • Getting the Source Code of the Sample Programs
      • Running Ruby Programs
      • The Ruby Library Documentation
    • 1. Strings, Numbers, Classes, and Objects
      • Strings and Embedded Evaluation
      • Numbers
      • Comments
      • Testing a Condition: if..then
      • Local and Global Variables
      • Classes and Objects
    • 2. Class Hierarchies, Attributes, and Class Variables
      • Passing Arguments to the Superclass
      • Accessor Methods
      • Attribute Readers and Writers
      • Calling Methods of a Superclass
      • Class Variables
    • 3. Strings and Ranges
      • Backquotes
      • String Handling
      • Ranges
    • 4. Arrays and Hashes
      • Hashes
    • 5. Loops and Iterators
      • Blocks and Block Parameters
      • Iterating upto and downto
      • Multiple Iterator Arguments
      • while Loops
      • until Loops
      • loop
    • 6. Conditional Statements
      • and, or, and not
      • Negation
      • if..elsif
      • unless
      • if and unless Modifiers
      • Case Statements
    • 7. Methods
      • What Are Class Methods For?
      • Class Variables
      • Ruby Constructors: new or initialize?
      • Singleton Methods
      • Singleton Classes
      • Overriding Methods
      • Public, Protected, and Private Methods
    • 8. Passing Arguments and Returning Values
      • Returning Values
      • Returning Multiple Values
      • Default and Multiple Arguments
      • Assignment and Parameter Passing
      • Integers Are Special
      • The One-Way-In, One-Way-Out Principle
      • Modifying Receivers and Yielding New Objects
      • Potential Side Effects of Reliance on Argument Values
      • Parallel Assignment
    • 9. Exception Handling
      • ensure: Execute Code Whether or Not an Error Occurs
      • else: Execute Code When No Error Occurs
      • Error Numbers
      • retry: Attempt to Execute Code Again After an Error
      • raise: Reactivate a Handled Error
    • 10. Blocks, Procs, and Lambdas
      • Line Breaks Are Significant
      • Nameless Functions
      • Look Familiar?
      • Blocks and Arrays
      • Procs and Lambdas
      • Block or Hash?
      • Creating Objects from Blocks
      • What Is a Closure?
      • yield
      • Blocks Within Blocks
      • Passing Named Proc Arguments
      • Precedence Rules
      • Blocks as Iterators
    • 11. Symbols
      • Symbols and Variables
      • Why Use Symbols?
    • 12. Modules and Mixins
      • Module Methods
      • Modules as Namespaces
      • Included Modules, or “Mixins”
      • Name Conflicts
      • Alias Methods
      • Mix In with Care!
      • Including Modules from Files
    • 13. Files and IO
      • Characters and Compatibility
      • Files and Directories
      • Copying Files
      • Directory Inquiries
      • A Discursion into Recursion
      • Sorting by Size
    • 14. YAML
      • Nested Sequences
      • Saving YAML Data
      • Omitting Variables on Saving
      • Multiple Documents, One File
      • A YAML Database
      • Adventures in YAML
    • 15. Marshal
      • Omitting Variables on Saving
      • Saving Singletons
    • 16. Regular Expressions
      • Match Groups
      • MatchData
      • Prematch and Postmatch
      • Greedy Matching
      • String Methods
      • File Operations
    • 17. Threads
      • Running Threads
      • Going Native
      • The Main Thread
      • Thread Status
      • Ensuring That a Thread Executes
      • Thread Priorities
      • The Main Thread Priority
      • Mutexes
      • Fibers
    • 18. Debugging and Testing
      • Debugging
      • Unit Testing
    • 19. Ruby on Rails
      • Model-View-Controller
      • A First Ruby on Rails Application
      • Create a Rails Application
      • Create a Controller
      • Anatomy of a Simple Rails Application
      • The Generate Controller Script Summarized
      • Create a View
      • Rails Tags
      • Let’s Make a Blog!
        • Partials
    • 20. Dynamic Programming
      • eval
      • Special Types of eval
      • Adding Variables and Methods
      • Creating Classes at Runtime
      • Bindings
      • send
      • Removing Methods
      • Handling Missing Methods
      • Writing Programs at Runtime
      • Exploring Further
    • A. Documenting Ruby with RDoc
    • B. Installing MySQL for Ruby on Rails
      • Installing MySQL
      • Configuring MySQL
      • Can’t Find the Database?
    • C. Further Reading
      • Books
      • Ebooks
      • Websites
    • D. Ruby and Rails Development Software
      • Web Servers
      • Databases
      • Ruby Implementations
    • Index
    • About the Author
    • Colophon
    • E. Updates
暂无相关搜索结果!
    展开/收起文章目录

    二维码

    手机扫一扫,轻松掌上学

    《Programming Ruby_ The Pragmatic - David Thomas; Chad Fowler; Andr》电子书下载

    请下载您需要的格式的电子书,随时随地,享受学习的乐趣!
    EPUB 电子书

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度