Jump to ratings and reviews
Rate this book

RUBY Programming Language. In 8 Hours, For Beginners, Learn Coding Fast! Ruby Crash Course, Ruby QuickStart eBook, Ruby Tutorial Book With Program Samples. In Easy Steps! An Ultimate Beginner's Guide

Rate this book
About This Book

This Book Absolutely for
“Ruby in 8 Hours” covers all essential Ruby language knowledge. You can learn complete primary skills of Ruby programming fast and easily. The book includes more than 80 practical examples for beginners and includes tests & answers for the college exam, the engineer certification, and the job interview.

Source Code for
This book provides source code for download; you can download the source code for better study, or copy the source code to your favorite editor to test the programs.


Table of

Hour 1
Ruby Introduction
The First Ruby Program
Install Ruby
Ruby Irb
Ruby Editor
Comments
Ruby Program Example
Output Text
Ruby Identifier
Variable
Naming Variables
Constant
Reserved Words
BEGIN Statement
END Statement
Data Types
Integer
Float
String
Array
Hash
Range
Escape Characters

Hour 2
Method
Call a Method
Method with Parameters (1)
Method with Parameters (2)
Return
Class
Defining Class
Create Ruby Objects
The Initialize Method
Class & Object Example

Hour 3
Variables
Global Variable
Instance Variable
Class Variables
Local Variable
Constants
Arithmetical Operators
Logical Operators
Assignment Operators
Comparison Operators (1)
Comparison Operators (2)
Conditional Operator
Parallel Assignment
Range Operator
defined? Operator
Operator "."
Operator “::”
Operators Precedence

Hour 4
If Statement
If-else Statement
If-elseif Statement
While Statement
Until Statement
Break Statement
Next Statement
For-in Statement
Case Statement
Redo Statement
Block
Yield Statement
BEGIN Block
END Block
Module
Require
Include

Hour 5
String
Multi-Line String (1)
Multi-Line String (2)
Insert a String
Connect Strings
Freezing String
Comparing String
Uppercasing String
Lowercasing String
Substring (1)
Substring (2)
String Methods

Hour 6
Array
Create an Array
The Value of Elements
Accessing Array Elements
First & Last
Take
Drop
Add an Element (1)
Add an Element (2)
Insert an Element
Remove an Element (1)
Remove an Element (2)
Delete an Element
Remove Repeated Elements
Array Built-in Methods
Hash
Modify Hash
Hash built-in Methods

Hour 7
Set Date
Get Date
Set Time
Get Time
Set Datetime
Get DateTime
Set Local Time & UTC
Get Local Time & UTC
Time Zone
GM Time & Local Time
Range
Convert to Array
Included ?
Max & Min
Each Iterator
Conditional Range
“ === ” Symbol
Reverse
Each Iterator
Time Iterator
Upto Iterator
Step Iterator

Hour 8
File
Create File Object (1)
Create File Object (2)
Create File Object (3)
Create File Object (4)
Rename a File
Delete a File
Gets
Putc
File Check (1)
File Check (2)
Show Current Folder
Create & Specify a Folder
Delete a Folder
Close File
File Methods
Directory Methods
Exceptions
Handling Exception
Exception Type
Raise
Rescue
Exception Object
Retry
Else
Ensure

Appendix Ruby Tests & Answers

Click the Buy button now, and invest the book, learn coding today!

199 pages, Kindle Edition

Published May 9, 2018

1 person want to read

About the author

Ray Yao

538 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
1 (50%)
2 stars
0 (0%)
1 star
1 (50%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.