Sha256: fabdd53075aa3d3427d4bc8cda68cac2dbd1fad4012221c78ee113dd58eb3e6a
Contents?: true
Size: 531 Bytes
Versions: 29
Compression:
Stored size: 531 Bytes
Contents
require 'pathname' require 'erb' require 'active_support/inflector' # require lib files lib_files = %w(version dependency_chain template drone object_extensions) lib_files.each { |f| require "app_drone/#{f}" } # require all drones in app_drone/drones, exclude 'zzz' folder drone_paths = Pathname.new(File.dirname(__FILE__) + '/app_drone/drones') drones = drone_paths.children.select(&:directory?).map { |path| path.split.last.to_s } drones -= ['zzz'] drones.each { |d| require "app_drone/drones/#{d}/#{d}" } module AppDrone end
Version data entries
29 entries across 19 versions & 1 rubygems