Welcome to the Learn Ruby repository of the "Language is Simple" organization! This repository is designed to help you learn the Ruby programming language through practical examples and explanations.
- Introduction
- Directory Structure
- Learning Resources
- How to Use This Repository
- Contributing
- Issue Templates
- License
- Code of Conduct
Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity. This repository contains various Ruby files and directories, each focusing on different aspects of the language. The goal is to provide clear and concise examples to help you understand and practice Ruby.
The repository is organized into the following directories, each containing Ruby files and a README file explaining the concepts covered:
- src
- Arrays and Hashes
- Cases
- Classes and Objects
- Data Types
- Exception Handling
- If Else Statements
- Inheritance
- Inputs
- Loops
- Methods
- Modules
- Numbers
- Print Statements
- Slashes
- Strings
- Variable Declaration
- Working with Files
Each directory focuses on a specific topic, providing practical examples and explanations.
Here are some recommended YouTube channels to learn Ruby programming:
- Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/Language-is-Simple/Learn-Ruby.git
- Navigate to a Directory: Choose a topic you want to learn and navigate to the corresponding directory:
cd Learn-Ruby/src/<directory-name>
- Read the README: Start by reading the README file in the directory for an explanation of the concepts and examples.
- Run the Ruby Files: Execute the Ruby files to see the code in action and understand the output:
ruby <file-name>.rb
- Experiment: Modify the code and experiment with different scenarios to deepen your understanding.
We welcome contributions from the community to improve and expand this repository. Here are the steps to contribute:
- Fork the Repository: Click the "Fork" button on the GitHub page to create a copy of this repository in your GitHub account.
- Clone Your Fork: Clone your forked repository to your local machine:
git clone https://github.com/<your-username>/Learn-Ruby.git
- Create a Branch: Create a new branch for your feature or bug fix:
git checkout -b <branch-name>
- Make Changes: Implement your changes and commit them with a clear and descriptive commit message.
- Push to GitHub: Push your changes to your forked repository:
git push origin <branch-name>
- Create a Pull Request: Open a pull request on the original repository and describe your changes in detail.
When raising an issue, please use the templates stored in the .github/ISSUE_TEMPLATE directory. This directory contains both bug and feature templates to help you describe your issue or request in detail.
This repository is licensed under the MIT License. See the LICENSE file for more details.
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please read the Code of Conduct for more details.