Method: Git::Lib#checkout_file
- Defined in:
- lib/git/lib.rb
#checkout_file(version, file)
872 873 874 875 876 877 |
# File 'lib/git/lib.rb', line 872 def checkout_file(version, file) arr_opts = [] arr_opts << version arr_opts << file command('checkout', *arr_opts) end |