Bradley Schaefer on Nostr: nprofile1q…x2r82 I’ve used conversion methods in the past and left the ...
Published at
2025-02-13 17:38:14Event JSON
{
"id": "57eb0e3e4c5513fdafdd38eada94d152749aea9a2f1f61afc3cfda763c94cd5f",
"pubkey": "7211fc992411fbde7d86b4e7b0414469682feb62b109119e6f3e451e03eb6a4c",
"created_at": 1739468294,
"kind": 1,
"tags": [
[
"p",
"b4a7426b2c85076c67e9102d562077f5387434d53c3e67d6ecbdf0fc5dc5781b",
"wss://relay.mostr.pub"
],
[
"p",
"0a98fcc74400896d68beecfb32da230c656db6fc7ab43c4228b7755377d294f2",
"wss://relay.mostr.pub"
],
[
"e",
"9479870389ffaf9de0c9e9d3a0d781865a59ef4a9e6d31bb70e3f57ca192c00c",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://ruby.social/users/soulcutter/statuses/113997794163735984",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqkjn5y6evs5rkcelfzqk4vgrh75u8gdx48slx04hvhhc0chw90qds9x2r82 I’ve used conversion methods in the past and left the constructor alone.\n\nmodule Header::Conversion\n def Header(value)\n # … much the same as your constructor\n end\nend\n\ninclude Header::Conversion\nHeader(value) # =\u003e a Header or whatever\n\nI don’t have any problem with your approach, other than wanting to try to eliminate nils wherever possible",
"sig": "07c0a23d57ceae799fd770f3cd2f562d86c7069e3fecd13c225796db83ae2243b27f15dbd2e64b595e809b2bb40d621480ab8120a2edabf86d5b5baff3890f1c"
}