دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Noel Rappin. with Dave Thomas
سری:
ISBN (شابک) : 9781680509823, 9781680509298
ناشر: The Pragmatic Bookshelf, LLC
سال نشر: 2024
تعداد صفحات: 0
زبان: English
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 4 مگابایت
در صورت تبدیل فایل کتاب Programming Ruby 3.3: The Pragmatic Programmers’ Guide به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب برنامه نویسی Ruby 3.3: The Pragmatic Programmers’ Guide نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
Pr ogramming Ruby 3.3
About the Pragmatic Bookshelf
Table of Contents
Early Praise for Programming Ruby 3.3: The Pragmati c Programmers’ Guide
Preface
Why Ruby?
A Word about Ruby Versions
Notation Conventions
Road Map
Resources
Acknowledgments
Part 1: Facets of Ruby
Chapter 1: Getting Started
Installing Ruby
Installing Ruby for Windows
Running Ruby
Creating Ruby Programs
Getting More Information about Ruby
What’s Next
Chapter 2: Ruby.new
Ruby Is an Object-Oriented Language
Some Basic Ruby
Arrays and Hashes
Symbols
Control Structures
Regular Expressions
Blocks
Reading and ‘Riting
Command-Line Arguments
Commenting Ruby
What’s Next
Chapter 3: Classes, Objects, and Variables
Defining Classes
Objects and Attributes
Classes Working with Other Classes
Specifying Access Control
Variables
Reopening Classes
What’s Next
Chapter 4: Collections, Blocks, and Iterators
Arrays
Hashes
Digging
Word Frequency: Using Hashes and Arrays
Blocks and Enumeration
What’s Next
Chapter 5: More about Methods
Defining a Method
Calling a Method
What’s Next
Chapter 6: Sharing Functionality: Inheritance, Modules, and Mixins
Inheritance and Messages
Modules
Inheritance, Mixins, and Design
What’s Next
Chapter 7: Basic Types: Numbers, Strings, and Ranges
Numbers
Strings
Ranges
What’s Next
Chapter 8: Regular Expressions
What Regular Expressions Let You Do
Creating and Using Regular Expressions
Regular Expression Patterns
Regular Expression Syntax
What’s Next
Chapter 9: Expressions
Operator Expressions
Command Expressions
Assignment
Conditional Execution
Loops and Iterators
Pattern Matching
What’s Next
Chapter 10: Exceptions
The Exception Class
Handling Exceptions
Raising Exceptions
Using Catch and Throw
What’s Next
Chapter 11: Basic Input and Output
What Is an I/O Object?
Opening and Closing Files
Reading and Writing Files
Talking to Networks
What’s Next
Chapter 12: Threads, Fibers, and Ractors
Multithreading with Threads
Running Multiple External Processes
Creating Fibers
Understanding Ractors
What’s Next
Chapter 13: Testing Ruby Code
Why Unit Test?
Testing with Minitest
Structuring Tests
Creating Mock Objects in Minitest
Organizing and Running Tests
Testing with RSpec
What’s Next
Part 2: Ruby in Its Setting
Chapter 14: Ruby from the Command Line
Calling the Ruby Command
Ruby Command-Line Options
Making Your Code an Executable Program
Processing Command-Line Arguments to Your Cod e
Accessing Environment Variables
Where Ruby Finds Its Libraries
Using the Rake Build Tool
The Build Environment
What’s Next
Chapter 15: Ruby Gems
Installing and Managing Gems
Using Bundler to Manage Groups of Gems
Writing and Packaging Your Own Code in to Gems
Organizing Your Source Code
Distributing and Installing Your Code
What’s Next
Chapter 16: Interactive Ruby
Using irb
Navigating irb
Configuring irb
What’s Next
Chapter 17: Debugging Ruby
Printing Things
The Ruby Debugger
Pry
Debugging Performance Issues with Benchmark
What’s Next
Chapter 18: Typed Ruby
What’s a Type?
Official Ruby Typing with RBS
Ruby Typing with Sorbet
What’s Next
Chapter 19: Documenting Ruby
Documenting with RDoc
Adding RDoc to Ruby Code
Running RDoc
Documenting with YARD
What’s Next
Part 3: Ruby Crystallized
Chapter 20: Ruby and the Web
Ruby’s Web Utilities
Templating with ERB
Serving Ruby Code to the Web
Ruby in the Browser with Web Assembly
What’s Next
Chapter 21: Ruby Style
Written Ruby Style
Using RuboCop
Using Standard
Ruby Style in the Large
Duck Typing
What’s Next
Chapter 22: The Ruby Object Model and Metaprogramming
Understanding Objects and Classes
Defining Singleton Methods
Inheritance and Visibility
Modules and Mixins
Metaprogramming Class-Level Macros
Using instance_eval and class_eval
Using Hook Methods
A Metaprogramming Example
Top-Level Execution Environment
What’s Next
Chapter 23: Reflection and Object Space
Looking at Objects
Looking at Classes
Calling Methods Dynamically
System Hooks
Tracing Your Program’s Execution
Behind the Curtain: The Ruby VM
Marshaling and Distributed Ruby
What’s Next
Part 4: Ruby Language Reference
Chapter 24: Language Reference: Literal Types and Expressions
Source Layout
Ruby Literals
Regular Expressions
Names
Values, Variables, and Constants
Expressions, Conditionals, and Loops
Chapter 25: Language Reference: Objects and Classes
Method Definition
Invoking a Method
Aliasing
Defining Classes
Defining Modules
Access Control
Blocks, Closures, and Proc Objects
Exceptions
Catch and Throw
Typed Ruby
Part 5: Ruby Library Reference
Chapter 26: Library Reference: Core Data Types
Dates and Times
Math
Numbers
Random and SecureRandom
Regexp
Strings
Symbols
Chapter 27: Library Reference: Ruby’s Object Model
BasicObject
Class
Comparable
Kernel
Method
Module
Object
Chapter 28: Library Reference: Enumerators and Containers
Array
Enumerable
Enumerator
Hash
Set
Chapter 29: Library Reference: Input, Output, Files, and Formats
CSV
Dir
File
FileUtils
IO
JSON
Pathname
StringIO
Tempfile
URI
YAML
Chapter 30: Library Reference: Ruby on Ruby
Benchmark
Data
Delegator and SimpleDelegator
Logger
ObjectSpace
Observable
OpenStruct
PP
Prism
Ripper
Singleton
Struct
Unbound Method
Part 6: Appendixes
Appendix 1: Troubleshooting Ruby
Common Issues
Debugging Tips
Appendix 2: I Can’t Look It Up!
Appendix 3: Command-Line Basics
The Command Prompt
Folders, Directories, and Navigation
Appendix 4: Ruby Runtimes
Just-in-Time Compilers
TruffleRuby
JRuby
mRuby
Other Runtimes
Appendix 5: Ruby Changes
Version 2.0
Version 2.1
Version 2.2
Version 2.3
Version 2.4
Version 2.5
Version 2.6
Version 2.7
Version 3.0
Version 3.1
Version 3.2
Version 3.3
You May Be Interested In…