Top Level Namespace
Defined Under Namespace
Modules: Liquid, Zwite Classes: Fixnum, Hash, Integer, Object, String, Time
Instance Method Summary collapse
-
#require_all(path) ⇒ Object
require all.
Instance Method Details
#require_all(path) ⇒ Object
require all
4 5 6 7 8 9 |
# File 'lib/zwite.rb', line 4 def require_all(path) glob = File.join(File.dirname(__FILE__), path, "*.rb") Dir[glob].each do |f| require f end end |