DEV Community


Ruby Introduction - Ruby Unbundled Series

I am an Android and Flutter Developer. Having 7+ Years of Experience in Mobile application development. Looking for article writers on my website.
Updated on ・2 min read

Ruby is an open source object-oriented programming server-side scripting language that was designed and developed by Japan's Yukihiro Matsumoto (Yukihiro Matsumoto) in the mid 1990s. In the Ruby community, Matsumoto is also called Matz. Ruby can run on multiple platforms, such as various versions of Windows, MAC OS and UNIX

Who should read this tutorial?

This tutorial helps beginners understand the basics and basic concepts of the Ruby language

Compile / execute Ruby program

For most programming languages, the first entry example is "Hello World!". The following example uses Ruby to output "Hello World!"

# ! / usr / bin / ruby

            puts " Hello World! " ;
Enter fullscreen mode Exit fullscreen mode

Ruby Topics with examples

A String object in Ruby holds and manipulates an arbitrary sequence of one or more bytes, typically representing characters that represent human language.

The simplest string literals are enclosed in single quotes (the apostrophe character). The text within the quote marks is the value of the string

'This is a simple Ruby string literal'
Enter fullscreen mode Exit fullscreen mode

If you need to place an apostrophe within a single-quoted string literal, precede it with a backslash, so that the Ruby interpreter does not think that it terminates the string

'Won\'t you read O\'Reilly\'s book?'
Enter fullscreen mode Exit fullscreen mode

The backslash also works to escape another backslash, so that the second backslash is not itself interpreted as an escape character.

Following are the string-related features of Ruby

  • Expression Substitution
  • General Delimited Strings
  • Escape Characters
  • Character Encoding

Ruby Program to Reverse a String in ruby

Ruby new Features

Some ruby Unbundled series

1.Ruby Unbundled Series: Release Features Faster by Slowing Down


2.The Ruby Unbundled Series: Why You Should Check Out Hotwire Now

3.The Ruby Unbundled Series: Designing and Launching New Features in Rails

4.The Ruby Unbundled Series: Add Microservices to your Rails App in Minutes

5.The Ruby Unbundled Series: Single file rails application Instant Poll App

6.The Ruby Unbundled Series: Track How Customers Use New Features

Discussion (3)

dev_emmy profile image


devgraph profile image

nshimiye_emmy, whole The Ruby Unbundled are released by Engine Yard. Check them here:

dev_emmy profile image

ok great, thanks