This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.document | ||
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
VERSION.yml | ||
| |
lib/ | ||
| |
reloadable.gemspec | ||
| |
test/ |
README.rdoc
reloadable
Reloading files is useful… sometimes. This makes it easy to reload files you define.
How?
class PunkyBrewster
include Reloadable
# Require her friends and register that we might be reloading them later
require_reloadable_files "edward.rb"
require_reloadable_files "frank.rb"
def say_hello
reload_files! if should_reload? # should_reload? is your own method
puts "Hello"
end
end
That’s it!
Copyright
Copyright © 2009 Ari Lerner. See LICENSE for details.








