private Method

Plugin.evaluate_init_rb(initializer)

There's no documentation for this item.

Source Code

# File rails/plugin.rb, line 73
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.