複製鏈接
請複製以下鏈接發送給好友

Ruby程序設計語言

鎖定
《Ruby程序設計語言》是2008年05月東南大學出版社出版的圖書,作者是(美)費拉納根。
中文名
Ruby程序設計語言
作    者
(美)費拉納根
出版社
東南大學出版社
出版時間
2008年5月
定    價
64 元
開    本
16 開
ISBN
9787564108397

Ruby程序設計語言內容提要

Ruby程序設計語言 Ruby程序設計語言
《Ruby程序設計語言》是Ruby的權威指南,全面涵蓋該語言的1.8版和1.9版。本書詳盡但並不拘泥於語言規範,既適合首次接觸Ruby的資深程序員,同樣也適合那些想要挑戰對這門語言的理解並更深入掌握它的Ruby程序員。本書首先通過一個快速指南帶您熟悉這門語言,然後徹底解釋它的細節,包括:
Ruby程序的詞法和句法結構
數據類型和對象
表達式和操作符
語句和控制結構
Method、proc、lambda和closure
類和模塊
反射和元編程
Ruby平台《Ruby程序設計語言》包含了對Ruby平台的大量API的全面介紹,通過包含詳盡註釋的代碼展示瞭如何將Ruby用於文本處理、數值處理、集合、輸入/輸出、網絡和併發。如果您真想要理解Ruby,本書不可或缺。 [1] 

Ruby程序設計語言圖書目錄

Preface
1.Introduction
1.1ATourofRuby
1.2TryRuby
1.3AboutThisBook
1.4ASudokuSolverinRuby
2.TheStructureandExecutionofRubyPrograms
2.1LexicalStructure
2.2SyntacticStructure
2.3FileStructure
2.4ProgramEncoding
2.5ProgramExecution
3.DatatypesandObjects
3.1Numbers
3.2Text
3.3Arrays
3.4Hashes
3.5Ranges
3.6Symbols
3.7True,False,andNil
3.8Objects
4.ExpressionsandOperators
4.1LiteralsandKeywordLiterals
4.2VariableReferences
4.3ConstantReferences
4.4MethodInvocations
4.5Assignments
4.6Operators
5.StatementsandControlStructures
5.1Conditionals
5.2Loops
5.3IteratorsandEnumerableObjects
5.4Blocks
5.5AlteringControlFlow
5.6ExceptionsandExceptionHandling
5.7BEGINandEND
5.8Threads,Fibers,andContinuations
6.Methods,Procs,Lambflas,andClosures
6.1DefiningSimpleMethods
6.2MethodNames
6.3MethodsandParentheses
6.4MethodArguments
6.5ProcsandLambdas
6.6Closures
6.7MethodObjects
6.8FunctionalProgramming
7.ClassesandModules
7.1DefiningaSimpleClass
7.2MethodVisibility:Public,Protected,Private
7.3SubclassingandInheritance
7.4ObjectCreationandInitialization
7.5Modules
7.6LoadingandRequiringModules
7.7SingletonMethodsandtheEigenclass
7.8MethodLookup
7.9ConstantLookup
8.ReflectionandMetaprogramming
8.1Types,Classes,andModules
8.2EvaluatingStringsandBlocks
8.3VariablesandConstants
8.4Methods
8.5Hooks
8.6Tracing
8.7ObjectSpaceandGC
8.8CustomControlStructures
8.9MissingMethodsandMissingConstants
8.10DynamicallyCreatingMethods
8.11AliasChaining
8.12Domain-SpecificLanguages
9.TheRubyPlatform
9.1Strings
9.2RegularExpressions
9.3NumbersandMath
9.4DatesandTimes
9.5Collections
9.6FilesandDirectories
9.7Input/Output
9.8Networking
9.9ThreadsandConcurrency
10.TheRubyEnvironment
10.1InvokingtheRubyInterpreter
10.2TheTop-LevelEnvironment
10.3PracticalExtractionandReportingShortcuts
10.4CallingtheOS
10.5Security
Index
……
參考資料