I am trying to use UrlLoader to simulate the’HEAD’ method; essentially, I just want to check if the file exists without downloading the entire file. I think I will only use HttpStatusEvent, but whe
Tag: thrown
Why will I call the bash command from Ruby?
I am trying to use Ruby to execute the following bash commands on some images:
class Pingcrush
def initialize
Dir.foreach(‘drawable’) do |item|
next if item ==’.’ or item ==’..’
# do work