Sha256: b01aa548b26c0cbb6ed7d6055d71471a2a64a9ae981bb78a6c00cbcea88d7ddb
Contents?: true
Size: 524 Bytes
Versions: 11
Compression:
Stored size: 524 Bytes
Contents
require 'pathname' require 'erb' require 'active_support/inflector' # require lib files lib_files = %w(version template drone object_extensions) lib_files.each { |f| require "app_drone/#{f}" } # require all drones in app_drone/drones 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 # TODO Your code goes here... end
Version data entries
11 entries across 11 versions & 1 rubygems