lib/callsite.rb in callsite-0.0.1 vs lib/callsite.rb in callsite-0.0.2
- old
+ new
@@ -52,9 +52,18 @@
def self.activate_loadpath_methods
activate_kernel_dir_methods
require 'loaders/load_path'
end
+ def self.activate_all
+ activate_string_methods
+ activate_file_methods
+ activate_module_methods
+ activate_kernel_dir_methods
+ activate_kernel_require_methods
+ activate_loadpath_methods
+ end
+
module StringMethods
unless method_defined?(:~@)
def ~@
File.expand_path(File.join(Kernel.__DIR_REL__(caller.first), self))
end
\ No newline at end of file