module Forecast

Constants

ApiDomain
VERSION

Public Class Methods

load_all_ruby_files_from_path(path) click to toggle source

Class method to load all ruby files from a given path.

# File lib/forecast.rb, line 6
def self.load_all_ruby_files_from_path(path)
  Dir.foreach(path) do |file|
    require File.join(path, file) if file =~ /\.rb$/
  end
end