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

Version Path
app_drone-0.5.2 lib/app_drone.rb~
app_drone-0.5.1 lib/app_drone.rb~
app_drone-0.5.0 lib/app_drone.rb~
app_drone-0.4.0 lib/app_drone.rb~
app_drone-0.3.4 lib/app_drone.rb~
app_drone-0.3.3 lib/app_drone.rb~
app_drone-0.3.2 lib/app_drone.rb~
app_drone-0.3.1 lib/app_drone.rb~
app_drone-0.2.1 lib/app_drone.rb~
app_drone-0.2.0 lib/app_drone.rb~
app_drone-0.1.0 lib/app_drone.rb~