Class: Dir

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_appengine/bundler_boot.rb

Class Method Summary collapse

Class Method Details

.[](*args, &block) ⇒ Object



69
70
71
72
73
# File 'lib/rails_appengine/bundler_boot.rb', line 69

def [](*args, &block)
  ret = __glob2_orig(*args, &block)
  p ["Dir.glob2", args, ret] if ret.empty? and ENV['VERBOSE']
  ret
end

.__glob2_origObject



68
# File 'lib/rails_appengine/bundler_boot.rb', line 68

alias_method :__glob2_orig, :"[]"

.__glob_origObject



62
# File 'lib/rails_appengine/bundler_boot.rb', line 62

alias_method :__glob_orig, :glob

.glob(*args, &block) ⇒ Object



63
64
65
66
67
# File 'lib/rails_appengine/bundler_boot.rb', line 63

def glob(*args, &block)
  ret = __glob_orig(*args, &block)
  p ["Dir.glob", args, ret] if ret.empty? and ENV['VERBOSE']
  ret
end