Sha256: 72a2e48529805885206ef173d58ad34a13c494bf51673097d18596e36f5aeb54
Contents?: true
Size: 418 Bytes
Versions: 3
Compression:
Stored size: 418 Bytes
Contents
module Jekyll_FTP class Error def self.file_missing(filename) abort("ERROR:".red + " #{filename} does not exist.\n" + "Make sure you're in your site's root directory.".yellow) end def self.config_error(missing) unless missing.empty? say "ERROR:".red + " Config file not set up properly." missing.each do |missed| say " Missing:".yellow + " #{missed}" end abort end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-ftp-0.2.0 | lib/jekyll-ftp/error.rb |
jekyll-ftp-0.1.1 | lib/jekyll-ftp/error.rb |
jekyll-ftp-0.1.0 | lib/jekyll-ftp/error.rb |