Class: Rascut::Plugin::GenerateCtags
- Inherits:
-
Base
- Object
- Base
- Rascut::Plugin::GenerateCtags
show all
- Defined in:
- lib/rascut/plugin/generate_ctags.rb
Instance Method Summary
collapse
Methods inherited from Base
#config, #initialize
Instance Method Details
18
19
20
|
# File 'lib/rascut/plugin/generate_ctags.rb', line 18
def generate_ctags
`#{@ctags_cmd} -R --langmap=actionscript:.as -f #{@command.root.join('tags')}`
end
|
#run ⇒ Object
13
14
15
16
|
# File 'lib/rascut/plugin/generate_ctags.rb', line 13
def run
@ctags_cmd = config[:ctags] || 'ctags'
@command.file_observer.add_update_handler method(:generate_ctags)
end
|