An open API service indexing awesome lists of open source software.

https://github.com/madhurimarawat/ruby-programming

This repository contains programs in the Ruby Programming Language.
https://github.com/madhurimarawat/ruby-programming

arrays basic-programs boolean case-statements datatypes hashes initializers looping number predicates projects ranges rhombus-star-pattern-while-loop ruby ruby-app split-function strings ternary-operator variables-constants

Last synced: 3 months ago
JSON representation

This repository contains programs in the Ruby Programming Language.

Awesome Lists containing this project

README

          

# Ruby-Programming
This repository contains programs in the Ruby Programming Language.

# About Ruby Programming
--> Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms.


--> It was designed with an emphasis on programming productivity and simplicity.


--> In Ruby, everything is an object, including primitive data types.


--> Ruby is dynamically typed and uses garbage collection and just-in-time compilation.


--> It supports multiple programming paradigms, including procedural, object-oriented, and functional programming.

---
# Modes of Execution Used Komodo IDE 

Ruby Language


--> To begin with Ruby, visit the official website  



--> Download Ruby according to the platform being used like Linux, MacOs or Windows.


--> Follow the setup wizard.


--> Now there is irb(interactive ruby) in which we can directly write and execute ruby codes without having to create file.


--> To use this simply type irb in command prompt of system.


--> The problem with this is that once you exit the console, code will be deleted.


--> To avoid this write ruby code in any text editor or IDE and save the file with extention .rb .


--> Then just open the console and run this command-

```
ruby filename.rb
```
Filename is the name of the Ruby script and output will be displayed after running this command.

Komodo IDE


--> Visit Komodo IDE and download according the platform to be used.


--> Create account in &nbsp:


--> Login in Komodo using this account and now komodo IDE can be used.


--> This is a multi-language IDE and we can run more than one programming langauge in this.


--> We can also execute Ruby code directly by clicking on the ⚡icon in this IDE.

---
# Features of Ruby

---
# Gems in Ruby 📚
--> The software package is called a “gem” which contains a packaged Ruby application or library.


--> Gems can be used to extend or modify functionality in Ruby applications.


--> Commonly they’re used to distribute reusable functionality that is for use in applications and libraries.


--> Some gems provide command line utilities to help automate tasks and speed up work.


--> To install Ruby gems this command is used-
```
gem install gem_name
```

## Thanks for Visiting 😄

Drop a 🌟 if you find this repository useful.


If you have any doubts or suggestions, feel free to reach me.


📫 How to reach me:   [![Linkedin Badge](https://img.shields.io/badge/-madhurima-blue?style=flat&logo=Linkedin&logoColor=white)](https://www.linkedin.com/in/madhurima-rawat/)    
Mail Illustration📫