Sha256: 74086c854896b8742d14a70bd280840a5b24102901a88119fd05c53ad9c83c69
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
class StyleStats class CLI def self.run(files, options) stylestats = StyleStats.new(files, options) stylestats.render rescue StyleStats::RequestError puts '[ERROR] getaddrinfo ENOTFOUND' rescue StyleStats::ContentError puts '[ERROR] Content type is not HTML or CSS!' rescue StyleStats::InvalidError puts '[ERROR] Argument is invalid' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
style_stats-0.0.1 | lib/style_stats/cli.rb |