Skip to main content

Posts

Showing posts from January, 2022

Ruby Tutorials and Program List By Shiva Sir

What is Ruby:- Ruby is a pure object-oriented programming language that is used to create desktop and web applications. ruby language is easy to learn and contain various predefine library to implement program logic. ruby is open source programming language, all software packages, tools, and frameworks are freely available, we can download ruby software and use in the program. .......................................................................... Ruby Syntax:- Ruby programming language can be written into three different patterns. 1)  Paragraph pattern:- we will write a collection of statements similar to paragraphs. puts("hello world") puts("welcome") 2)  Procedural pattern:- We will create a separate function to define the program, it provides a structured pattern to write the Ruby code. def methodname()      statements      statements  end call  methodname() 3)  OOPS Pattern:- using this pattern we will create a class and obj...