module Travis::Tools::Assets
def asset(file)
def asset(file) File.read(asset_path(file)) end
def asset_path(file)
def asset_path(file) Pathname.glob(File.expand_path(file, BASE)).tap do |x| raise Travis::Client::AssetNotFound, file if x.empty? end.first.to_s end