Aaron Allen
banner
aaronmallen.dev
Aaron Allen
@aaronmallen.dev
I'm Aaron and I make things for the web. I sunlight as a Software Engineer for @RootInsurance, formerly @StreetEasy. I'm passionate about #rubylang but dabble in a little bit of #javascript and #typescript. My opinions are my own.

He/Him/His
Another cool trick is if the thing under test has predicate methods you can do:

```
class Foo
def successful? = true
end

expect(Foo.new).to be_successful
```
October 30, 2025 at 2:09 AM
Fuck I wish we had fall down here
October 27, 2025 at 11:46 PM
It's sooooooo good
October 26, 2025 at 3:30 AM
WDYM it's not expressive enough? What is it missing. YARD is used in real-world code btw thats what powers rubydoc.info
October 15, 2025 at 2:46 PM
Ah yeah having yard like annotation for this would be nice
October 14, 2025 at 12:28 PM
I typically do so at the top of the file or at the top of the root namespace
October 14, 2025 at 12:15 PM
You can define interfaces with the @rbs! tag
October 14, 2025 at 12:15 PM
It does? Interfaces!
October 14, 2025 at 12:13 PM
I personally do use `Object?`
October 12, 2025 at 8:31 PM