For loop in Ruby

Ruby for loop iterates over a specific range of numbers. Hence, for loop is used if a program has fixed number of iterations. Ruby for loop will execute once for each element in expression. Syntax: Ruby for loop using range: Output: Ruby for loop using array: Example: Output: Hope you guys found this page useful […]

How to install Ruby?

We can use ruby in cross-platform. For example, Windows, OS X, UNIX, etc. So, We can install it on that differently. Let’s, have some fun in Ruby. Windows: For Windows, you can use RubyInstaller. That gives you a full Ruby environment. OS X: For OS X, Ruby was installed by default. Since, New updates. If, […]

Introduction

Hi There, My name is Pruthviraj Rathod and I’m creator of this blog. To help you get started, here are a few questions: Going step by step from scratch. A fresher or any learner who loves programming can read this blog. Every day one post that can learn with a fresh mind and not be […]