# File lib/bee_util.rb, line 79 def self.get_file(location, base=nil) base = base || Dir.pwd abs = absolute_path(location, base) if abs =~ /^http:/ # this is HTTP return fetch(abs) else # this is a file return File.read(abs) end end