public Method

Plugin.installed?

There's no documentation for this item.

Source Code

# File commands/plugin.rb, line 165
def installed?
  File.directory?("#{rails_env.root}/vendor/plugins/#{name}") \
    or rails_env.externals.detect{ |name, repo| self.uri == repo }
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.