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.
- Host: GitHub
- URL: https://github.com/madhurimarawat/ruby-programming
- Owner: madhurimarawat
- Created: 2023-08-20T12:15:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T17:38:41.000Z (about 2 years ago)
- Last Synced: 2025-03-04T17:43:42.470Z (7 months ago)
- Topics: 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
- Language: Ruby
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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![]()
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
--> Visitand download according the platform to be used.
--> Create account in  :
--> 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: [](https://www.linkedin.com/in/madhurima-rawat/)![]()