Object
# File lib/van/units/loaders.rb, line 8 8: def handles(*types) 9: handles = @handles ||= [] 10: unless types.empty? 11: res = handles.push(*types) 12: Converter.register_loader(self) 13: res 14: else 15: handles 16: end 17: end
# File lib/van/units/loaders.rb, line 19 19: def method_added(m) 20: eval %{ 21: def self.#{m}(*a, &b) 22: (@instance ||= new).#{m}(*a, &b) 23: end 24: } 25: super 26: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.