4 ms·
Ruby's `open` accepts urls. I can't say I've ever used this functionality.
by monadic2 6y ago
Ruby's `open` accepts urls. I can't say I've ever used this functionality.
- dogma1138 6y agoAsk your red team about that ;)
- diamondo25 6y agoPHP's file_get_contents supports it as well.
- cyberbanjo 6y agoClojure a slurp too.. never been bitten, I thought it was useful.
- ben0x539 6y agoI've only ever used it for that! For files there's `File.open`! ;)
- abiogenesis 6y agoI don't know Ruby enough to comment on that but I would guess it requires a scheme as well.