class Object

Constants

BASE_PATH
LOGO_PATH

Public Instance Methods

require_all(path) click to toggle source

Require all of the Ruby files in the given directory.

path - The String relative path from here to the directory.

Returns nothing.

# File lib/fly_parser.rb, line 20
def require_all(path)
  glob = File.expand_path(File.join(File.dirname(__FILE__), path, '**', '*.rb'))
  Dir[glob].each do |f|
    require f
  end
end