public Method

Plugin.load_paths

Returns a list of paths this plugin wishes to make available in $LOAD_PATH

Source Code

# File rails/plugin.rb, line 30
def load_paths
  report_nonexistant_or_empty_plugin! unless valid?
  has_lib_directory? ? [lib_path] : []
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.