{"id":20356583,"url":"https://github.com/madhurimarawat/ruby-programming","last_synced_at":"2025-06-28T00:05:42.832Z","repository":{"id":189498724,"uuid":"680790189","full_name":"madhurimarawat/Ruby-Programming","owner":"madhurimarawat","description":"This repository contains programs in the Ruby Programming Language.","archived":false,"fork":false,"pushed_at":"2023-09-04T17:38:41.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T17:43:42.470Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madhurimarawat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-20T12:15:44.000Z","updated_at":"2023-08-31T08:15:12.000Z","dependencies_parsed_at":"2025-01-15T01:21:20.888Z","dependency_job_id":null,"html_url":"https://github.com/madhurimarawat/Ruby-Programming","commit_stats":null,"previous_names":["madhurimarawat/ruby-programming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madhurimarawat/Ruby-Programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FRuby-Programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FRuby-Programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FRuby-Programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FRuby-Programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madhurimarawat","download_url":"https://codeload.github.com/madhurimarawat/Ruby-Programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FRuby-Programming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352621,"owners_count":23297689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-11-14T23:17:06.448Z","updated_at":"2025-06-28T00:05:42.743Z","avatar_url":"https://github.com/madhurimarawat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby-Programming\nThis repository contains programs in the Ruby Programming Language.\n\n\u003cimg src=\"https://github.com/madhurimarawat/Ruby-Programming/assets/105432776/c9e629e6-6074-47a9-963a-f3d463682a55\" height=400px width=600px\u003e\n\n# About Ruby Programming\n--\u003e Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms.\u003cbr\u003e\u003cbr\u003e\n--\u003e It was designed with an emphasis on programming productivity and simplicity.\u003cbr\u003e\u003cbr\u003e\n--\u003e In Ruby, everything is an object, including primitive data types. \u003cbr\u003e\u003cbr\u003e\n--\u003e Ruby is dynamically typed and uses garbage collection and just-in-time compilation.\u003cbr\u003e\u003cbr\u003e\n--\u003e It supports multiple programming paradigms, including procedural, object-oriented, and functional programming.\u003cbr\u003e\n\n---\n# Modes of Execution Used \u003ca href=\"https://www.ruby-lang.org/en/\"\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Ruby_logo.svg/396px-Ruby_logo.svg.png\" height=30px width=30px\u003e\u003cimg src=\"https://th.bing.com/th/id/R.867a8cd55ef989b2f5bac14fdf629e4b?rik=znGQGWA%2faYKlog\u0026riu=http%3a%2f%2ficons.iconarchive.com%2ficons%2fpapirus-team%2fpapirus-apps%2f512%2fkomodo-icon.png\u0026ehk=aWPRlGNwswtsl5aMHlkF%2f78DK4boKtzEDmPjSSEMshU%3d\u0026risl=\u0026pid=ImgRaw\u0026r=0\" title=\"Komodo IDE\" alt=\"Komodo IDE\" width=\"40\" height=\"40\"/\u003e\u0026nbsp;\n\u003ch2\u003eRuby Language\u003c/h2\u003e\n--\u003e To begin with Ruby, visit the official website \u0026nbsp; \u003ca href=\"https://www.ruby-lang.org/en/\"\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Ruby_logo.svg/396px-Ruby_logo.svg.png\" height=30px width=30px\u003e\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n--\u003e Download Ruby according to the platform being used like Linux, MacOs or Windows.\u003cbr\u003e\u003cbr\u003e\n--\u003e Follow the setup wizard.\u003cbr\u003e\u003cbr\u003e\n--\u003e Now there is irb(interactive ruby) in which we can directly write and execute ruby codes without having to create file.\u003cbr\u003e\u003cbr\u003e\n--\u003e To use this simply type irb in command prompt of system.\u003cbr\u003e\u003cbr\u003e\n--\u003e The problem with this is that once you exit the console, code will be deleted.\u003cbr\u003e\u003cbr\u003e\n--\u003e To avoid this write ruby code in any text editor or IDE and save the file with extention .rb .\u003cbr\u003e\u003cbr\u003e\n--\u003e Then just open the console and run this command-\u003cbr\u003e\u003cbr\u003e\n\n```\nruby filename.rb\n```\nFilename is the name of the Ruby script and output will be displayed after running this command.\n\u003ch2\u003eKomodo IDE\u003c/h2\u003e\n--\u003e Visit \u003ca href=\"https://github.com/ActiveState/OpenKomodoIDE/releases\"\u003e\u003cimg src=\"https://th.bing.com/th/id/R.867a8cd55ef989b2f5bac14fdf629e4b?rik=znGQGWA%2faYKlog\u0026riu=http%3a%2f%2ficons.iconarchive.com%2ficons%2fpapirus-team%2fpapirus-apps%2f512%2fkomodo-icon.png\u0026ehk=aWPRlGNwswtsl5aMHlkF%2f78DK4boKtzEDmPjSSEMshU%3d\u0026risl=\u0026pid=ImgRaw\u0026r=0\" title=\"Komodo IDE\" alt=\"Komodo IDE\" width=\"40\" height=\"40\"/\u003e\u003c/a\u003e and download according the platform to be used.\u003cbr\u003e\u003cbr\u003e\n--\u003e Create account in \u0026nbsp: \u003ca href=\"https://www.activestate.com/\"\u003e\u003cimg src=\"https://cdn.sanity.io/images/pz7nxv9z/production/6a696aa8dd5e607eaa1f325c56a61c7c39a18b34-2000x361.png?h=80\" height=30px width=30px\u003e\u003c/a\u003e\u003cbr\u003e \u003cbr\u003e\n--\u003e Login in Komodo using this account and now komodo IDE can be used. \u003cbr\u003e\u003cbr\u003e\n--\u003e This is a multi-language IDE and we can run more than one programming langauge in this.\u003cbr\u003e\u003cbr\u003e\n--\u003e We can also execute Ruby code directly by clicking on the ⚡icon in this IDE.\n\n---\n# Features of Ruby\n\u003cimg src=\"https://static.javatpoint.com/ruby/images/features-of-ruby.png\" height=400px width=600px\u003e\n\n---\n# Gems in Ruby 📚\n--\u003e The software package is called a “gem” which contains a packaged Ruby application or library.\u003cbr\u003e\u003cbr\u003e\n--\u003e Gems can be used to extend or modify functionality in Ruby applications.\u003cbr\u003e\u003cbr\u003e\n--\u003e Commonly they’re used to distribute reusable functionality that is for use in applications and libraries.\u003cbr\u003e\u003cbr\u003e\n--\u003e Some gems provide command line utilities to help automate tasks and speed up work.\u003cbr\u003e\u003cbr\u003e\n--\u003e To install Ruby gems this command is used-\n```\ngem install gem_name \n```\n\n## Thanks for Visiting 😄\n\nDrop a 🌟 if you find this repository useful.\u003cbr\u003e\u003cbr\u003e\nIf you have any doubts or suggestions, feel free to reach me.\u003cbr\u003e\u003cbr\u003e\n📫 How to reach me:  \u0026nbsp; [![Linkedin Badge](https://img.shields.io/badge/-madhurima-blue?style=flat\u0026logo=Linkedin\u0026logoColor=white)](https://www.linkedin.com/in/madhurima-rawat/) \u0026nbsp; \u0026nbsp;\n\u003ca href =\"mailto:rawatmadhurima@gmail.com\"\u003e\u003cimg src=\"https://github.com/madhurimarawat/Machine-Learning-Using-Python/assets/105432776/b6a0873a-e961-42c0-8fbf-ab65828c961a\" height=35 width=30 title=\"Mail Illustration\" alt=\"Mail Illustration📫\" \u003e \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhurimarawat%2Fruby-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadhurimarawat%2Fruby-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhurimarawat%2Fruby-programming/lists"}