Sha256: c23992a42bb8327fcf496c85dbd6997bb7071a4760c9f2d6063815049bcf228a
Contents?: true
Size: 576 Bytes
Versions: 2
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true module RShade module Filter class Default RUBY_VERSION_PATTERN = /ruby-[0-9.]*/.freeze def self.create new.create end def create [create_exclude] end def create_exclude filter = ExcludePathFilter.new filter.config do |paths| excluded_paths.each do |path| paths << path end end end def excluded_paths [ENV['GEM_PATH'].split(':'), RUBY_VERSION_PATTERN, /internal/].flatten.compact end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rshade-0.2.2 | lib/rshade/filter/default.rb |
rshade-0.2.1 | lib/rshade/filter/default.rb |