Skip to content

Instantly share code, notes, and snippets.

View wkotzan-avant's full-sized avatar

Winston Kotzan wkotzan-avant

View GitHub Profile
@wkotzan-avant
wkotzan-avant / reload_already_loaded_file.rb
Created November 4, 2015 19:43
Reloads the filename given
module WAKUtils
def self.reload(require_regex)
$".grep(/#{require_regex}/).each {|e| $".delete(e) && require(e) }
end
end