Sha256: 35581f079270a9be126a4b841addc9a4fe9f204c970fff50c021dab5f9f24350
Contents?: true
Size: 470 Bytes
Versions: 21
Compression:
Stored size: 470 Bytes
Contents
module SCSSLint class Plugins # Load ruby files from linter plugin directories. class LinterDir attr_reader :config def initialize(dir) @dir = dir @config = SCSSLint::Config.new({}) # Will always be empty end def load ruby_files.each { |file| require file } self end private def ruby_files Dir.glob(File.expand_path(File.join(@dir, '**', '*.rb'))) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
scss_lint-0.40.0 | lib/scss_lint/plugins/linter_dir.rb |