Method: Licit::Licenser#each_source_file

Defined in:
lib/licit/licenser.rb

#each_source_fileObject



72
73
74
75
76
77
78
79
# File 'lib/licit/licenser.rb', line 72

def each_source_file
  Dir.chdir(dir) do
    Dir['**/*.rb'].each do |source_file|
      next if should_exclude source_file
      yield source_file
    end
  end
end