Method: Licit::Licenser#should_exclude

Defined in:
lib/licit/licenser.rb

#should_exclude(file) ⇒ Object



127
128
129
130
131
132
# File 'lib/licit/licenser.rb', line 127

def should_exclude(file)
  @options[:exclude].each do |excluded|
    return true if file.start_with? excluded
  end
  false
end