Method: Licit::Licenser#check_headers
- Defined in:
- lib/licit/licenser.rb
#check_headers ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'lib/licit/licenser.rb', line 39 def check_headers result = [] each_source_file do |source_file| if not check_file_header(source_file) result << [:error, source_file, "Missing header in #{source_file}"] end end result end |