### Monday

My week started (as it always starts) with publishing the Short Ruby Newsletter on Monday

[Short Ruby Newsletter - edition 114](https://newsletter.shortruby.com/p/edition-114)

### Tuesday

I followed up on **Tuesday** with another series that I am starting that I call “Three Ruby Links”

[Three Ruby Links #9](https://newsletter.shortruby.com/p/three-ruby-links-9)

### Wednesday

During my [GoodEnoughTesting](https://goodenoughtesting.com) workshops we discuss in the beginning expectations from the training. There is always an expectation about best practices when writing tests and I tried in this article to pin down some high-level simple rules that I try to apply when writing test code

[Tests should be simple](https://goodenoughtesting.com/articles/tests-should-be-simple)

### Thursday: 

This is a small post showing how to use pattern matching in Ruby to check if an array is empty, not empty, or has some specific kind of objects inside

[Using Pattern Matching in Ruby to act based on array contents](https://notes.ghinda.com/post/using-pattern-matching-in-ruby-to-act-based-on-array-contents)

### Friday

I was reading this article by Vladimir Dementyev and noticed an example of using RBS inline. Then I read the source code and noticed how he uses Prism to parse method definitions together with RBS type and generate function definitions for LLMs

[RBS inline code sample from Anycable example](https://notes.ghinda.com/post/rbs-inline-code-sample-from-anycable-example)

---

If you like this article:

👉 Join my [**Short Ruby Newsletter**](https://newsletter.shortruby.com/) for weekly Ruby updates from the community and visit [**rubyandrails.info**](http://rubyandrails.info/)**, a directory with learning content about Ruby.**

👐 Join my live workshop about [**goodenoughtesting.com**](http://goodenoughtesting.com/) **\- to learn test design techniques for writing effective tests**

🤝 Let's connect on [Bluesky](https://bsky.app/profile/lucianghinda.com), [Ruby.social](http://ruby.social/), [Linkedin](https://linkedin.com/in/lucianghinda), [Twitter](https://x.com/lucianghinda) where I post mostly about Ruby and Ruby on Rails.

🎥 Follow me on [**my YouTube channel**](https://www.youtube.com/@shortruby) for short videos about Ruby/Rails

---
Published at: 2024-11-24 | Updated at: 2024-11-24 | Author: Lucian Ghinda
