Sha256: c5f5689b462ede85689d3b151a99a0d343634a8e331dadf51a9e04ebed64dfa7
Contents?: true
Size: 676 Bytes
Versions: 6
Compression:
Stored size: 676 Bytes
Contents
require 'origen' <% if @type == :plugin -%> require_relative '../config/application.rb' <% end -%> module <%= @namespace %> # Load all files in the lib directory via a wildcard, if your project becomes # large or load order dependencies start to creep in then you may need to # start taking control of this manually as described above. # Note that there is no problem from requiring a file twice (Ruby will ignore # the second require), so if you have a file that must be required up front # you can do that one manually and the let the wildcard take care of the rest. Dir.glob("#{File.dirname(__FILE__)}/**/*.rb").sort.each do |file| require file end end
Version data entries
6 entries across 6 versions & 1 rubygems