Module: YARD::Registry
- Defined in:
- lib/command_t/ex/command_t_yard.rb
Class Method Summary collapse
Class Method Details
.load_files(files = []) ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'lib/command_t/ex/command_t_yard.rb', line 19 def self.load_files(files=[]) # TODO test it files.each do |file| if @store.load(file) @store.load_yardoc @store.instance_variable_set(:@available_objects, 1/0.0) # Infinity @store.load_all end end end |
.path_hash ⇒ Object
33 34 35 |
# File 'lib/command_t/ex/command_t_yard.rb', line 33 def self.path_hash @path_hash ||= Hash[all.map(&:path).zip(all)] end |
.paths ⇒ Object
29 30 31 |
# File 'lib/command_t/ex/command_t_yard.rb', line 29 def self.paths @paths ||= all.map(&:path) end |