没有合适的资源?快使用搜索试试~ 我知道了~
Noel Rappin, Dave Thomas - Programming Ruby 3.2_ The Pragmatic P...
需积分: 5 0 下载量 20 浏览量
2023-05-26
09:44:10
上传
评论
收藏 6.15MB PDF 举报
温馨提示
试读
566页
Noel Rappin, Dave Thomas - Programming Ruby 3.2_ The Pragmatic Programmers' Guide-Pragmatic Bookshelf (2023).pdf
资源推荐
资源详情
资源评论
ß
Under Construction: The book you’re reading is still under develop-
ment. As part of our Beta book program, we’re releasing this copy
well before a normal book would be released. That way you’re able
to get this content a couple of months before it’s available in finished
form, and we’ll get feedback to make the book even better. The idea
is that everyone wins!
Be warned: The book has not had a full technical edit, so it will
contain errors. It has not been copyedited, so it will be full of typos, spelling mistakes,
and the occasional creative piece of grammar. And there’s been no effort spent doing
layout, so you’ll find bad page breaks, over-long code lines, incorrect hyphenation,
and all the other ugly things that you wouldn’t expect to see in a finished book. It also
doesn't have an index. We can’t be held liable if you use this book to try to create a
spiffy application and you somehow end up with a strangely shaped farm implement
instead. Despite all this, we think you’ll enjoy it!
Download Updates: Throughout this process you’ll be able to get updated ebooks
from your account at
pragprog.com/my_account
. When the book is complete, you’ll get
the final version (and subsequent updates) from the same address.
Send us your feedback: In the meantime, we’d appreciate you sending us your
feedback on this book at
pragprog.com/titles/ruby5/errata
, or by using the links at the
bottom of each page.
Thank you for being part of the Pragmatic community!
The Pragmatic Bookshelf
Programming Ruby, 3.2
The Pragmatic Programmers’ Guide
Noel Rappin
with Dave Thomas
The Pragmatic Bookshelf
Raleigh, North Carolina
Many of the designations used by manufacturers and sellers to distinguish their products are claimed
as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC
was aware of a trademark claim, the designations have been printed in initial capital letters or in all
capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic
Bookshelf, PragProg and the linking g device are trademarks of The Pragmatic Programmers, LLC.
Every precaution was taken in the preparation of this book. However, the publisher assumes no re-
sponsibility for errors or omissions, or for damages that may result from the use of information (in-
cluding program listings) contained herein.
Our Pragmatic courses, workshops, and other products can help you and your team create better
software and have more fun. For more information, as well as the latest Pragmatic titles, please visit
us at
http://pragprog.com
.
For sales, volume licensing, and support, please contact
support@pragprog.com
.
For international rights, please contact
rights@pragprog.com
.
Copyright © 2023 The Pragmatic Programmers, LLC.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording,
or otherwise, without the prior consent of the publisher.
ISBN-13: 978-1-68050-982-3
Encoded using the finest acid-free high-entropy binary digits.
Book version: B3.0—March 28, 2023
Contents
Change History . . . . . . . . . . . . . . ix
Preface . . . . . . . . . . . . . . . . xi
Part I — Facets of Ruby
1. Getting Started . . . . . . . . . . . . . . 3
Installing Ruby 3
Installing Ruby For Windows 7
Running Ruby 11
Creating Ruby Programs 13
Getting More Information about Ruby 14
What’s Next 15
2. Ruby.new . . . . . . . . . . . . . . . 17
Ruby Is an Object-Oriented Language 17
Some Basic Ruby 19
Arrays and Hashes 22
Symbols 24
Control Structures 25
Regular Expressions 26
Blocks 28
Reading and ‘Riting 30
Command-Line Arguments 30
Commenting Ruby 31
What’s Next 31
3. Classes, Objects, and Variables . . . . . . . . . . 33
Defining Classes 33
Objects and Attributes 36
Classes Working with Other Classes 41
Specifying Access Control 44
Variables 48
Reopening Classes 49
What’s Next 51
剩余565页未读,继续阅读
资源评论
MQ-Kenny
- 粉丝: 0
- 资源: 42
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于MFC的校园导航程序(使用最短路径dijkstra算法).rar
- Android Studio android APP 视频作为视图背景需要源代码或想了解其实现原理的可以私心我
- com.ZeroneGames.GreenProject.apk
- Python自动化开发入门教程
- 4399GameSem_116_13955_207551_6.apk
- python 3.9.19源码编译包
- php-8.2.18-Win32-vs16-x64.rar
- 字节跳动青训营-抖音项目
- SQL资料手册,语句教程,高级查询语句语法
- 上位机和串口建立 Modbus 协议进行数据传输,并使用 Mysql 数据库存储,能够实现实时温湿度显示和动态变化曲线,历史数据
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功