method
use_checkout?
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: RailsEnvironment
use_checkout?()
public
Hide source
# File railties/lib/rails/commands/plugin.rb, line 78 def use_checkout? # this is a bit of a guess. we assume that if the rails environment # is under subversion then they probably want the plugin checked out # instead of exported. This can be overridden on the command line File.directory?("#{root}/.svn") end