Experimental browser for the Atmosphere
In Ruby, I really like the collapsed class name style, like `class Menu::Item` but it's annoying that namespace modules aren't automatically generated. Turns out, this works: ```ruby class (Menu = Module.new)::Item end ``` lol
Mar 26, 2025, 9:21 PM
{ "uri": "at://did:plc:ps3ygxhsn4khcrxeutdosdqk/app.bsky.feed.post/3llcpp6llxs2n", "cid": "bafyreicr37dodvpcq7htvtihcn3qb2pqwcguy7oniajk6nuvqc3db6ezyi", "value": { "text": "In Ruby, I really like the collapsed class name style, like `class Menu::Item` but it's annoying that namespace modules aren't automatically generated.\n\nTurns out, this works:\n\n```ruby\nclass (Menu = Module.new)::Item\nend\n```\n\nlol", "$type": "app.bsky.feed.post", "langs": [ "en" ], "facets": [ { "index": { "byteEnd": 216, "byteStart": 199 }, "features": [ { "uri": "https://Module.new)::Item", "$type": "app.bsky.richtext.facet#link" } ] } ], "createdAt": "2025-03-26T21:21:05.922Z" } }