Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
monadic2
· 6y ago · 0 comments
Ruby's `open` accepts urls. I can't say I've ever used this functionality.
Comments
[–]
dogma1138
6y ago
Ask your red team about that ;)
[–]
diamondo25
6y ago
PHP's file_get_contents supports it as well.
[–]
abiogenesis
6y ago
I don't know Ruby enough to comment on that but I would guess it requires a scheme as well.
[–]
ben0x539
6y ago
I've only ever used it for that! For files there's `File.open`! ;)
[–]
cyberbanjo
6y ago
Clojure a slurp too.. never been bitten, I thought it was useful.