instance method inherited_with_helper

Ruby on Rails 2.2.3

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

inherited_with_helper(child)

No documentation comment.

Parameters

child req
Source
# File actionpack/lib/action_controller/helpers.rb, line 202
        def inherited_with_helper(child)
          inherited_without_helper(child)

          begin
            child.master_helper_module = Module.new
            child.master_helper_module.__send__ :include, master_helper_module
            child.__send__ :default_helper_module!
          rescue MissingSourceFile => e
            raise unless e.is_missing?("helpers/#{child.controller_path}_helper")
          end
        end

Defined in actionpack/lib/action_controller/helpers.rb line 202 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Helpers::ClassMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close