Ruby programming tutorial

Download free Ruby tutorial course in PDF, training file in 69 chapters and 235 pages. Free unaffiliated ebook created from Stack OverFlow contributor.

Table of contents

  • About
  • Getting started with Ruby Language
  • Hello World
  • Hello World as a Self-Executable File—using Shebang (Unix-like operating systems only)
  • Hello World from IRB
  • Hello World without source ?les
  • Hello World with tk
  • My First Method
  • Casting (type conversion)
  • Casting to a Float
  • Casting to a String
  • Casting to an Integer
  • Floats and Integers
  • Operators
  • Operator Precedence and Methods
  • Case equality operator (===)
  • Safe Navigation Operator
  • Assignment Operators
  • Comparison Operators
  • Variable Scope and Visibility
  • Class Variables
  • Local Variables
  • Global Variables
  • Instance Variables
  • Environment Variables
  • Sample to get user pro?le path
  • Constants
  • De?ne a constant
  • Modify a Constant
  • Constants cannot be de?ned in methods
  • De?ne and change constants in a class
  • Special Constants in Ruby
  • __FILE__
  • __dir__
  • $PROGRAM_NAME or $0
  • $$
  • $1, $2, etc
  • ARGV or $*
  • STDIN
  • STDOUT
  • STDERR
  • $stderr
  • $stdout
  • $stdin
  • ENV
  • Casting (type conversion)
  • Variable Scope and Visibility
  • Constants
  • Comments
  • Multidimensional Arrays
  • DateTime
  • Numbers
  • Comparable
  • Methods
  • Blocks and Procs and Lambdas
  • Exceptions
  • Enumerable in Ruby
  • Inheritance
  • Regular Expressions and Regex Based Operations
  • Ruby Access Modifiers
  • Loading Source Files
  • Range
  • Introspection in Ruby
  • Recursion in Ruby
  • JSON with Ruby
  • Gem Creation/Management
  • Gem Usage
  • Queue
  • Struct
  • Dynamic Evaluation
  • Message Passing
  • Truthiness
  • Introspection
  • Catching Exceptions with Begin / Rescue
  • IRB
  • Generate a random number
  • Getting started with Hanami
  • OptionParser
  • Operating System or Shell commands
  • C Extensions
  • Debugging
  • Ruby Version Manager
  • Installation

It is a free Ruby ebook created for beginners. The content is extracted from Stack Overflow pltaform, which is written by many Ruby developers and contributors.

The content is released under Creative Commons BY-SA

Size : 1.87 MB
File type : pdf
Downloads: 822
Created: 2019-04-30

Others Ruby Tutorials

Ruby Notes for Professionals

Ruby Regexp

Essential Ruby

Learning Ruby on Rails

Ruby Kung Fu (RubyFu) Tutorial

Others related eBooks about Ruby programming tutorial

Exploring Data with Python

Python has become a required skill for data science, and it's easy to see why. It's powerf..., download free Python tutorial in PDF (110 pages) created by ....

The Official Raspberry Pi Handbook 2021

Download free course The Official Raspberry Pi Handbook 2021, pdf file on 204 pages by David Crookes, PJ Evans, Gareth Halfacree, Rosie Hattersley, Nicola King, Simon Monk, Mark Vanstone....

Problem Solving with Algorithms and Data Structures Using Python

THIS TEXTBOOK is about computer science. It is also about Python. However, there is much more. The study of algorithms and data structures is central to understanding what computer science is all about. Learning computer science is not unlike learning any other type of difficult subject matter. Th...

Learning with Python: How to Think Like a Computer Scientist

The user-friendly, object-oriented programming language Python is quickly becoming the most popular introductory programming language for both students and instructors....

C Programming Notes for Professionals

Download free course C Programming Notes for Professionals, pdf file on 341 pages by Stack Overflow Community....

Annotated Algorithms in Python

Download free course Annotated Algorithms in Python, pdf file on 388 pages by by Massimo Di Pierro....

Introduction to Microsoft Word 2010

Download free training document in PDF intituled Introduction to Microsoft Word 2010, course on 159 pages for beginners....

Problem Solving with Algorithms and Data Structures

Download free course Problem Solving with Algorithms and Data Structures, pdf file on 240 pages by Brad Miller, David Ranum....

An Introduction to C & GUI Programming

Download free course An Introduction to C & GUI Programming, pdf file on 156 pages by by Simon Long....

Raspberry Pi Beginner's Guide

Download free course Raspberry Pi Beginner's Guide, pdf file on 248 pages by Gareth Halfacree....