| Class | Class |
| In: |
lib/uttk/loaders/Loader.rb
lib/uttk.rb |
| Parent: | Object |
| to_yaml | -> | old_to_yaml |
# File lib/uttk/loaders/Loader.rb, line 121 def testify ( symtbl, &block ) raise ArgumentError, "nil symtbl" if symtbl.nil? unless self < Uttk::Strategies::Strategy raise ArgumentError, "Need a subclass of Strategy not #{name}" end new do |t| t.symtbl ||= symtbl block[t] if block end end