Malt  Malt::Format

[Validate]
Generated with RDazzle Newfish 1.4.0

Format

Public Class Methods

register(malt_class, *exts) click to toggle source
    # File lib/malt/formats/abstract.rb, line 11
11:   def self.register(malt_class, *exts)
12:     exts.each do |ext|
13:       type = ext_to_type(ext)
14:       registry[type] = malt_class
15:     end
16:   end
registry() click to toggle source
    # File lib/malt/formats/abstract.rb, line 19
19:   def self.registry
20:     @registry ||= {}
21:   end

Disabled; run with --debug to generate this.