Skip to main content

index

docs/
└── tutorials/
└── ruby/
β”œβ”€β”€ index.mdx
β”œβ”€β”€ 01-introduction/
β”‚ β”œβ”€β”€ what-is-ruby.mdx
β”‚ β”œβ”€β”€ why-learn-ruby.mdx
β”‚ β”œβ”€β”€ ruby-features.mdx
β”‚ β”œβ”€β”€ ruby-vs-python.mdx
β”‚ β”œβ”€β”€ ruby-vs-javascript.mdx
β”‚ └── ruby-use-cases.mdx
β”œβ”€β”€ 02-installation-and-setup/
β”‚ β”œβ”€β”€ install-ruby.mdx
β”‚ β”œβ”€β”€ ruby-version-managers.mdx
β”‚ β”œβ”€β”€ install-on-windows.mdx
β”‚ β”œβ”€β”€ install-on-linux.mdx
β”‚ β”œβ”€β”€ install-on-macos.mdx
β”‚ β”œβ”€β”€ irb-and-interactive-ruby.mdx
β”‚ └── first-ruby-program.mdx
β”œβ”€β”€ 03-ruby-fundamentals/
β”‚ β”œβ”€β”€ ruby-syntax.mdx
β”‚ β”œβ”€β”€ variables-and-constants.mdx
β”‚ β”œβ”€β”€ data-types.mdx
β”‚ β”œβ”€β”€ numbers-and-arithmetic.mdx
β”‚ β”œβ”€β”€ strings.mdx
β”‚ β”œβ”€β”€ symbols.mdx
β”‚ β”œβ”€β”€ booleans-and-nil.mdx
β”‚ β”œβ”€β”€ type-conversion.mdx
β”‚ └── comments-and-documentation.mdx
β”œβ”€β”€ 04-control-flow/
β”‚ β”œβ”€β”€ conditional-statements.mdx
β”‚ β”œβ”€β”€ if-unless.mdx
β”‚ β”œβ”€β”€ case-expressions.mdx
β”‚ β”œβ”€β”€ while-and-until-loops.mdx
β”‚ β”œβ”€β”€ for-loops.mdx
β”‚ β”œβ”€β”€ iterators-and-each.mdx
β”‚ β”œβ”€β”€ break-next-and-redo.mdx
β”‚ └── truthiness.mdx
β”œβ”€β”€ 05-methods-and-blocks/
β”‚ β”œβ”€β”€ defining-methods.mdx
β”‚ β”œβ”€β”€ arguments-and-return-values.mdx
β”‚ β”œβ”€β”€ keyword-arguments.mdx
β”‚ β”œβ”€β”€ default-arguments.mdx
β”‚ β”œβ”€β”€ blocks.mdx
β”‚ β”œβ”€β”€ procs-and-lambdas.mdx
β”‚ β”œβ”€β”€ yield-and-block-given.mdx
β”‚ └── method-lookup.mdx
β”œβ”€β”€ 06-arrays-and-hashes/
β”‚ β”œβ”€β”€ arrays.mdx
β”‚ β”œβ”€β”€ array-methods.mdx
β”‚ β”œβ”€β”€ hashes.mdx
β”‚ β”œβ”€β”€ hash-methods.mdx
β”‚ β”œβ”€β”€ ranges.mdx
β”‚ β”œβ”€β”€ enumerable-module.mdx
β”‚ β”œβ”€β”€ map-select-and-reject.mdx
β”‚ └── collection-performance.mdx
β”œβ”€β”€ 07-strings-and-regular-expressions/
β”‚ β”œβ”€β”€ string-interpolation.mdx
β”‚ β”œβ”€β”€ string-manipulation.mdx
β”‚ β”œβ”€β”€ multiline-strings.mdx
β”‚ β”œβ”€β”€ regular-expressions.mdx
β”‚ β”œβ”€β”€ pattern-matching.mdx
β”‚ └── text-processing.mdx
β”œβ”€β”€ 08-object-oriented-programming/
β”‚ β”œβ”€β”€ classes-and-objects.mdx
β”‚ β”œβ”€β”€ initialize-and-constructors.mdx
β”‚ β”œβ”€β”€ instance-variables.mdx
β”‚ β”œβ”€β”€ class-variables-and-methods.mdx
β”‚ β”œβ”€β”€ attr-accessors.mdx
β”‚ β”œβ”€β”€ inheritance.mdx
β”‚ β”œβ”€β”€ method-overriding.mdx
β”‚ β”œβ”€β”€ modules-and-mixins.mdx
β”‚ β”œβ”€β”€ visibility-modifiers.mdx
β”‚ β”œβ”€β”€ singleton-methods.mdx
β”‚ └── composition-and-design.mdx
β”œβ”€β”€ 09-advanced-ruby/
β”‚ β”œβ”€β”€ closures-and-binding.mdx
β”‚ β”œβ”€β”€ metaprogramming-introduction.mdx
β”‚ β”œβ”€β”€ method-missing.mdx
β”‚ β”œβ”€β”€ define-method.mdx
β”‚ β”œβ”€β”€ refinements.mdx
β”‚ β”œβ”€β”€ reflection-and-introspection.mdx
β”‚ β”œβ”€β”€ enumerators.mdx
β”‚ β”œβ”€β”€ refinements-and-scope.mdx
β”‚ └── ruby-performance-basics.mdx
β”œβ”€β”€ 10-modules-and-gems/
β”‚ β”œβ”€β”€ modules-and-namespaces.mdx
β”‚ β”œβ”€β”€ require-and-load.mdx
β”‚ β”œβ”€β”€ ruby-standard-library.mdx
β”‚ β”œβ”€β”€ ruby-gems.mdx
β”‚ β”œβ”€β”€ gemfile-and-bundler.mdx
β”‚ β”œβ”€β”€ dependency-management.mdx
β”‚ β”œβ”€β”€ create-a-ruby-gem.mdx
β”‚ └── publish-a-ruby-gem.mdx
β”œβ”€β”€ 11-files-and-data/
β”‚ β”œβ”€β”€ file-reading-and-writing.mdx
β”‚ β”œβ”€β”€ paths-and-directories.mdx
β”‚ β”œβ”€β”€ csv-processing.mdx
β”‚ β”œβ”€β”€ json-processing.mdx
β”‚ β”œβ”€β”€ yaml-and-configuration.mdx
β”‚ β”œβ”€β”€ environment-variables.mdx
β”‚ β”œβ”€β”€ command-line-arguments.mdx
β”‚ └── serialization.mdx
β”œβ”€β”€ 12-errors-and-debugging/
β”‚ β”œβ”€β”€ exceptions-overview.mdx
β”‚ β”œβ”€β”€ begin-rescue-ensure.mdx
β”‚ β”œβ”€β”€ raising-custom-errors.mdx
β”‚ β”œβ”€β”€ error-handling-patterns.mdx
β”‚ β”œβ”€β”€ debugging-with-pry.mdx
β”‚ β”œβ”€β”€ ruby-debugger.mdx
β”‚ └── logging.mdx
β”œβ”€β”€ 13-testing-and-code-quality/
β”‚ β”œβ”€β”€ testing-fundamentals.mdx
β”‚ β”œβ”€β”€ minitest.mdx
β”‚ β”œβ”€β”€ rspec.mdx
β”‚ β”œβ”€β”€ mocks-and-stubs.mdx
β”‚ β”œβ”€β”€ test-driven-development.mdx
β”‚ β”œβ”€β”€ rubocop.mdx
β”‚ β”œβ”€β”€ code-coverage.mdx
β”‚ └── continuous-integration.mdx
β”œβ”€β”€ 14-concurrency-and-performance/
β”‚ β”œβ”€β”€ threads.mdx
β”‚ β”œβ”€β”€ mutexes-and-synchronization.mdx
β”‚ β”œβ”€β”€ fibers.mdx
β”‚ β”œβ”€β”€ ractors.mdx
β”‚ β”œβ”€β”€ processes-and-subprocesses.mdx
β”‚ β”œβ”€β”€ asynchronous-ruby-overview.mdx
β”‚ └── profiling-and-benchmarking.mdx
β”œβ”€β”€ 15-web-development/
β”‚ β”œβ”€β”€ ruby-web-development-overview.mdx
β”‚ β”œβ”€β”€ rack-introduction.mdx
β”‚ β”œβ”€β”€ sinatra-introduction.mdx
β”‚ β”œβ”€β”€ http-and-rest-apis.mdx
β”‚ β”œβ”€β”€ routing-and-controllers.mdx
β”‚ β”œβ”€β”€ database-integration.mdx
β”‚ β”œβ”€β”€ authentication-basics.mdx
β”‚ β”œβ”€β”€ sessions-and-cookies.mdx
β”‚ └── web-security-fundamentals.mdx
β”œβ”€β”€ 16-ruby-on-rails/
β”‚ β”œβ”€β”€ rails-introduction.mdx
β”‚ β”œβ”€β”€ create-a-rails-project.mdx
β”‚ β”œβ”€β”€ mvc-architecture.mdx
β”‚ β”œβ”€β”€ routes-and-controllers.mdx
β”‚ β”œβ”€β”€ views-and-templates.mdx
β”‚ β”œβ”€β”€ active-record-basics.mdx
β”‚ β”œβ”€β”€ database-migrations.mdx
β”‚ β”œβ”€β”€ validations-and-callbacks.mdx
β”‚ β”œβ”€β”€ forms-and-strong-parameters.mdx
β”‚ β”œβ”€β”€ authentication-and-authorization.mdx
β”‚ β”œβ”€β”€ rails-api-development.mdx
β”‚ β”œβ”€β”€ rails-testing.mdx
β”‚ β”œβ”€β”€ caching-and-performance.mdx
β”‚ └── deployment.mdx
β”œβ”€β”€ 17-automation-and-scripting/
β”‚ β”œβ”€β”€ command-line-scripts.mdx
β”‚ β”œβ”€β”€ automate-file-tasks.mdx
β”‚ β”œβ”€β”€ batch-processing.mdx
β”‚ β”œβ”€β”€ http-requests.mdx
β”‚ β”œβ”€β”€ api-automation.mdx
β”‚ β”œβ”€β”€ scheduled-tasks.mdx
β”‚ β”œβ”€β”€ web-scraping-ethics.mdx
β”‚ └── scripting-best-practices.mdx
β”œβ”€β”€ 18-security-and-best-practices/
β”‚ β”œβ”€β”€ input-validation.mdx
β”‚ β”œβ”€β”€ secrets-and-credentials.mdx
β”‚ β”œβ”€β”€ sql-injection-prevention.mdx
β”‚ β”œβ”€β”€ cross-site-scripting.mdx
β”‚ β”œβ”€β”€ dependency-security.mdx
β”‚ β”œβ”€β”€ secure-file-handling.mdx
β”‚ └── production-readiness.mdx
β”œβ”€β”€ 19-projects/
β”‚ β”œβ”€β”€ command-line-calculator.mdx
β”‚ β”œβ”€β”€ number-guessing-game.mdx
β”‚ β”œβ”€β”€ contact-manager.mdx
β”‚ β”œβ”€β”€ expense-tracker.mdx
β”‚ β”œβ”€β”€ file-organizer.mdx
β”‚ β”œβ”€β”€ api-client.mdx
β”‚ β”œβ”€β”€ task-management-api.mdx
β”‚ β”œβ”€β”€ rails-blog.mdx
β”‚ └── capstone-project.mdx
β”œβ”€β”€ reference/
β”‚ β”œβ”€β”€ ruby-cheatsheet.mdx
β”‚ β”œβ”€β”€ syntax-reference.mdx
β”‚ β”œβ”€β”€ array-and-hash-reference.mdx
β”‚ β”œβ”€β”€ enumerable-reference.mdx
β”‚ β”œβ”€β”€ common-errors.mdx
β”‚ β”œβ”€β”€ gem-and-bundler-commands.mdx
β”‚ β”œβ”€β”€ rails-command-reference.mdx
β”‚ β”œβ”€β”€ glossary.mdx
β”‚ └── official-resources.mdx
└── assets/
β”œβ”€β”€ images/
β”œβ”€β”€ diagrams/
└── examples/