Re:[email protected]
by monadic2 on Sunday September 27, 2020 @12:31PM
(#24607854)
Ruby's `open` accepts urls. I can't say I've ever used this functionality.
[ Parent
| on HN ]
Re:[email protected]
by dogma1138 on Sunday September 27, 2020 @12:59PM
(#24608075)
Ask your red team about that ;)
Re:[email protected]
by diamondo25 on Sunday September 27, 2020 @02:10PM
(#24608754)
PHP's file_get_contents supports it as well.
Re:[email protected]
by abiogenesis on Monday September 28, 2020 @01:14AM
(#24613194)
I don't know Ruby enough to comment on that but I would guess it requires a scheme as well.
Re:[email protected]
by ben0x539 on Sunday September 27, 2020 @11:14PM
(#24612620)
I've only ever used it for that! For files there's `File.open`! ;)
Re:[email protected]
by cyberbanjo on Sunday September 27, 2020 @09:16PM
(#24611881)
Clojure a slurp too.. never been bitten, I thought it was useful.