Method: RailsEnvironment#use_checkout?

Defined in:
lib/commands/plugin.rb

#use_checkout?Boolean

Returns:

  • (Boolean)


108
109
110
111
112
113
# File 'lib/commands/plugin.rb', line 108

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