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

Size1.87 MB
File typepdf
Downloads825
Created2019-04-30
Cover of Ruby programming tutorial
Preview PDF

Download

  • Data Parallel C++

    Download free course Data Parallel C++, pdf file on 565 pages by James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian....

  • Exploring .NET Core with Microservices, ASP.NET Core, and Entity Framework Core

    Windows developers have always enjoyed the productivity boost you get with the .NET platfo..., download free .NET tutorial in PDF (155 pages) created by ....

  • Introduction to Programming using Fortran 95/2003/2008

    This text provides an introduction to programming and problem solving using the Fortran 95/2003/2008 programming language. This introduction is geared for non computer science majors. As such, this text is not a complete, comprehensive guide to the Fortran 95/2003/2008 programming language. The pri...

  • Neural Networks and Deep Learning

    Neural Networks and Deep Learning currently provide the best solutions to many problems in image recognition, speech recognition, and natural language processing. This book will teach you the core concepts behind neural networks and deep learning. ...

  • Java Succinctly Part 1

    Download free course Java Succinctly Part 1, pdf file on 125 pages by Christopher Rose....

  • Learning Ruby on Rails

    Download free course Learning Ruby on Rails, pdf file on 291 pages by Stack Overflow Community....

  • Advanced Python, course with exercises

    This tutorial is a self­learning document in PDF for a course in Python programming intended to advanced students level....

  • IPython Interactive Computing and Visualization Cookbook

    Download free course IPython Interactive Computing and Visualization Cookbook, pdf file on 548 pages by Cyrille Rossant....

  • Learning .NET Framework PDF course

    Download free Dot net tutorial course in PDF, training file in 59 chapters and 241 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Android developement for beginners

    Download Android Tutorial in PDF ,free training document for beginner's Android Development ,file under 26 pages by (RNOC)...