Module: FastIgnore::Builders::Gitignore
- Defined in:
- lib/fast_ignore/builders/gitignore.rb
Class Method Summary collapse
Class Method Details
.build(rule, allow, expand_path_with: nil) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/fast_ignore/builders/gitignore.rb', line 6 def self.build(rule, allow, expand_path_with: nil) if allow ::FastIgnore::GitignoreIncludeRuleBuilder.new(rule, expand_path_with: ).build else ::FastIgnore::GitignoreRuleBuilder.new(rule, expand_path_with: ).build end end |