Module: TTK::TTKModule

Included in:
Daemons, Dumpers, Fetchers, Filters, Loaders, Monitors, Services, Strategies, Testers, Weights
Defined in:
lib/ttk.rb

Class Method Summary collapse

Class Method Details

.included(aClass) ⇒ Object



83
84
85
86
87
88
89
90
# File 'lib/ttk.rb', line 83

def self.included ( aClass )
  directory_name = aClass.name.split(/::/).last.downcase
  aClass.instance_eval do
    autoload_tree(TTK_DIR + directory_name, false) do |p|
      TTK.pathname_to_class(p)
    end
  end
end