instance method
best_install_method
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v3.2.22.5Signature
best_install_method()
No documentation comment.
Source
# File railties/lib/commands/plugin.rb, line 125
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/commands/plugin.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in RailsEnvironment