Browsing Tag
ruby
11 posts
Socket and Network Libraries in Ruby: Complete Guide to Network Programming with TCPSocket and UDPSocket
Network programming is one of those areas where Ruby quietly punches above its weight. Under the hood of…
Controlling the Thread Scheduler in Ruby: Thread Management, Fiber, and Concurrency Control Explained
Concurrency in Ruby is one of those topics that trips up even experienced developers, mostly because Ruby offers…
Talking to Networks in Ruby: HTTP, FTP, and Client-Server Communication Complete Guide
When I first started writing scripts that needed to reach out beyond my own machine — pulling data…
Basic Input and Output in Ruby: gets, puts, print, and File I/O Operations Explained
Every programmer’s first real program usually involves printing something to the screen or reading something typed by a…
Iterators and the Enumerable Module in Ruby: each, map, select, reduce, and Collection Methods Guide
If there’s one thing that made me fall in love with Ruby early on, it was the moment…
The Exception Class Catch and Throw in Ruby: Error Handling and Control Flow Explained
When I first started writing Ruby, I treated error handling like an afterthought. I’d write my happy-path code,…
Standard Data Types in Ruby: Numbers, Strings, Symbols, Booleans, and Nil Explained
I remember the moment Ruby’s object model finally clicked for me. I was debugging why 1.class returned Integer…
Containers, Blocks, and Iterations in Ruby: Arrays, Hashes, Blocks, and Looping Constructs Guide
If there’s one thing that made me fall in love with Ruby early on, it’s how naturally I…
Classes, Objects, and Variables in Ruby: Object-Oriented Programming Foundations Explained
When I first started learning Ruby, I remember being confused by how effortlessly everything seemed to “just work.”…
Ruby Is an Object-Oriented Language: Understanding Objects, Methods, and Inheritance in Ruby
I still remember the exact moment Ruby’s philosophy clicked for me. I typed 3.times { puts "hi" }…