Flowdock
method

evaluate_init_rb

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: Rails::Plugin
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 140
      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.