Sha256: 9b8da2a56caffb5888aedecc8d682d497f2a3e575044398acd8f3bbd57d25995

Contents?: true

Size: 366 Bytes

Versions: 4

Compression:

Stored size: 366 Bytes

Contents

require_relative 'base'
require_relative '../linter/unknown'

module LintTrap
  module Language
    # Interface for languages
    class Unknown < Base
      attr_reader :name

      def initialize(name = 'Unknown')
        @name = name
      end

      def linters
        super(Linter::Unknown)
      end

      def known?
        false
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lint_trap-0.0.15 lib/lint_trap/language/unknown.rb
lint_trap-0.0.14 lib/lint_trap/language/unknown.rb
lint_trap-0.0.13 lib/lint_trap/language/unknown.rb
lint_trap-0.0.11 lib/lint_trap/language/unknown.rb