Flowdock
method

evaluate_init_rb

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Rails::Plugin

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

evaluate_init_rb(initializer) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/plugin.rb, line 152
      def evaluate_init_rb(initializer)
        if has_init_file?
          silence_warnings do
            # Allow plugins to reference the current configuration object
            config = initializer.configuration
            
            eval(IO.read(init_path), binding, init_path)
          end
        end
      end
Register or log in to add new notes.