Coder Social home page Coder Social logo

madhurimarawat / ruby-programming Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 64 KB

This repository contains programs in the Ruby Programming Language.

Ruby 100.00%
basic-programs ruby boolean datatypes number ranges ruby-app split-function strings variables-constants

ruby-programming's Introduction

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  :

--> 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     Mail Illustration📫

ruby-programming's People

Contributors

madhurimarawat avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.