Class: Object

Inherits:
BasicObject
Defined in:
lib/action_controller/test_process.rb,
lib/action_view/vendor/builder/blankslate.rb

Overview

:nodoc:

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.blank_slate_method_addedObject



46
# File 'lib/action_view/vendor/builder/blankslate.rb', line 46

alias_method :blank_slate_method_added, :method_added

.method_added(name) ⇒ Object



47
48
49
50
51
# File 'lib/action_view/vendor/builder/blankslate.rb', line 47

def method_added(name)
  blank_slate_method_added(name)
  return  if self != Object
  Builder::BlankSlate.hide(name)
end

Instance Method Details

#require(file_name) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/action_controller/test_process.rb', line 8

def require(file_name)
  begin
    require_without_load_path_reloading(file_name)
  rescue Object => e
    ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) }
    require_without_load_path_reloading(file_name)
  end
end

#require_without_load_path_reloadingObject

:nodoc:



7
# File 'lib/action_controller/test_process.rb', line 7

alias_method :require_without_load_path_reloading, :require