Module: Forecast
- Defined in:
- lib/forecast.rb
Constant Summary collapse
- VERSION =
"0.0.2"- ApiDomain =
"forecastapp.com"
Class Method Summary collapse
-
.load_all_ruby_files_from_path(path) ⇒ Object
Class method to load all ruby files from a given path.
Class Method Details
.load_all_ruby_files_from_path(path) ⇒ Object
Class method to load all ruby files from a given path.
6 7 8 9 10 |
# 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 |