Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ruby wrapper for exuberant-ctags
branch: master

This branch is 7 commits behind tmm1:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext
lib
test
Gemfile
README.md
Rakefile
bench.rb
ctags.rb.gemspec

README.md

ctags.rb

simple ruby wrapper for exuberant-ctags

usage

>> pp Ctags.tags_for_file('/usr/lib/ruby/1.8/timeout.rb')
[
 {:path=>
   "/usr/lib/ruby/1.8/timeout.rb",
  :kind=>"module",
  :language=>"Ruby",
  :pattern=>"module Timeout",
  :name=>"Timeout",
  :line=>30},
 {:path=>
   "/usr/lib/ruby/1.8/timeout.rb",
  :kind=>"class",
  :class=>"Timeout",
  :language=>"Ruby",
  :pattern=>"class Error < Interrupt",
  :name=>"Error",
  :line=>35},
 {:path=>
   "/usr/lib/ruby/1.8/timeout.rb",
  :kind=>"class",
  :class=>"Timeout",
  :language=>"Ruby",
  :pattern=>"class ExitException < ::Exception # :nodoc:",
  :name=>"ExitException",
  :line=>37},
 {:path=>
   "/usr/lib/ruby/1.8/timeout.rb",
  :kind=>"method",
  :class=>"Timeout",
  :language=>"Ruby",
  :pattern=>"def timeout(sec, klass = nil)",
  :name=>"timeout",
  :line=>52},
 {:path=>
   "/usr/lib/ruby/1.8/timeout.rb",
  :kind=>"method",
  :language=>"Ruby",
  :pattern=>"def timeout(n, e = nil, &block) # :nodoc:",
  :name=>"timeout",
  :line=>100}
]
Something went wrong with that request. Please try again.