Skip to content

ImDineshSaini/RubyDataStructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ruby Developer's Complete Reference Guide

A comprehensive guide covering Data Structures, Design Patterns, SOLID principles, and core Ruby concepts with practical examples and exercises.

Table of Contents

  1. Data Structures
  2. Design Patterns
  3. SOLID Principles
  4. Core Ruby Concepts
  5. Practice Exercises

Data Structures

Learn fundamental and advanced data structures implemented in Ruby.

Basic Data Structures

  • Arrays - Dynamic arrays and operations
  • Hashes - Hash maps and dictionaries
  • Sets - Unique element collections

Linear Data Structures

Non-Linear Data Structures

Advanced Topics

πŸ“š View Complete Data Structures Guide


Design Patterns

Comprehensive coverage of Gang of Four design patterns in Ruby.

Creational Patterns

Structural Patterns

Behavioral Patterns

πŸ“š View Complete Design Patterns Guide


SOLID Principles

Master the five SOLID principles of object-oriented design.

πŸ“š View Complete SOLID Guide


Core Ruby Concepts

Essential Ruby programming concepts every developer should master.

Object-Oriented Programming

Advanced Ruby Features

Functional Programming

Concurrency

πŸ“š View Complete Core Concepts Guide


Practice Exercises

Hands-on exercises to reinforce your learning.

Data Structure Exercises

Algorithm Exercises

Design Pattern Exercises

πŸ“š View All Exercises


How to Use This Guide

For Beginners

  1. Start with Core Concepts to understand Ruby fundamentals
  2. Move to Data Structures for foundational knowledge
  3. Learn SOLID Principles for writing clean code
  4. Study Design Patterns to solve common problems
  5. Practice with Exercises

For Intermediate Developers

  1. Review Data Structures for implementations
  2. Deep dive into Design Patterns
  3. Master SOLID Principles
  4. Apply knowledge through Exercises

For Advanced Developers

  • Use as a quick reference guide
  • Review specific patterns and principles
  • Contribute improvements and additional examples

Running the Examples

All examples are self-contained Ruby files. Run them with:

ruby <path-to-file>.rb

For example:

ruby data-structures/01-arrays.rb
ruby design-patterns/creational/01-singleton.rb

Testing

Some examples include inline tests. To run tests:

ruby <file-name>.rb

Contributing

Contributions are welcome! Feel free to:

  • Add more examples
  • Improve explanations
  • Fix bugs
  • Add new topics

Learning Resources

Books

  • "Design Patterns in Ruby" by Russ Olsen
  • "Practical Object-Oriented Design in Ruby" by Sandi Metz
  • "The Well-Grounded Rubyist" by David A. Black
  • "Metaprogramming Ruby" by Paolo Perrotta

Online Resources


License

This guide is open source and available for learning purposes.


Happy Learning! πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages