Sha256: aa135d32f6e731eaae402f6b308497ddaf179e2a0e81b31e7aa89dbfb910dc7b

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

module Checker
  module Modules
    class Slim < Base
      extensions 'slim'
      private
      def check_one(file, opts = {})
        plain_command("slimrb --compile #{file} >> /dev/null")
      end

      def check_for_executable
        silent_command("slimrb -v")
      end

      def dependency_message
        str = "Executable not found\n"
        str << "Install slim from rubygems: 'gem install slim'\n"
        str
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
checker-0.6.4 lib/checker/modules/slim.rb
checker-0.6.3 lib/checker/modules/slim.rb