instance method
best_install_method
Ruby on Rails 3.1.12
Since v2.2.3 Last seen in v3.2.22.5Signature
best_install_method()
No documentation comment.
Source
# File railties/lib/rails/commands/plugin.rb, line 85
def best_install_method
return :http unless use_svn?
case
when use_externals? then :externals
when use_checkout? then :checkout
else :export
end
end
Defined in railties/lib/rails/commands/plugin.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in RailsEnvironment