Denis Defreyne on Nostr: Pro tip: Make your #Ruby question mark methods even more questionable! ``` def ...
Pro tip: Make your #Ruby question mark methods even more questionable!
```
def really?(_)
true # or false idc
end
really???
# => true
```
Published at
2024-12-09 14:56:51Event JSON
{
"id": "068b68cd5655616425e2c3d4cee977ce67c0223c459c84cd77c7f408710e01b1",
"pubkey": "74481b5004345ab4ff8d2f2bac2198742e9f56e579628e81d8aca611fc829be0",
"created_at": 1733756211,
"kind": 1,
"tags": [
[
"t",
"ruby"
],
[
"proxy",
"https://ruby.social/users/denis/statuses/113623447101228220",
"activitypub"
]
],
"content": "Pro tip: Make your #Ruby question mark methods even more questionable!\n\n```\ndef really?(_)\n true # or false idc\nend\n\nreally???\n# =\u003e true\n```",
"sig": "7b745bf4ab6aac594d4d6443b214c1890d0fe9f431b83c20c9ea6e9dbad75d64b007097db43275616675ee72288f6a2ee3c727fffcc3c2ba609212d83b958ae1"
}