Class: Overcommit::Hook::PostCheckout::IndexTags
- Defined in:
- lib/overcommit/hook/post_checkout/index_tags.rb
Overview
Scans source code each time HEAD changes to generate an up-to-date index of all function/variable definitions, etc.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#applicable_files, #description, #enabled?, #executable, #execute, #in_path?, #initialize, #name, #process_hook_return_value, #quiet?, #required?, #run?, #run_and_transform, #skip?
Constructor Details
This class inherits a constructor from Overcommit::Hook::Base
Instance Method Details
#run ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/overcommit/hook/post_checkout/index_tags.rb', line 5 def run unless in_path?('ctags') return :pass # Silently ignore end :pass end |