module Tabl::Formats
Public Class Methods
[](key)
click to toggle source
# File lib/tabl/formats.rb, line 17 def self.[](key) @@formats[key] end
exist?(key)
click to toggle source
# File lib/tabl/formats.rb, line 9 def self.exist?(key) @@formats.exist?(key) end
method_missing(key, *args)
click to toggle source
Calls superclass method
# File lib/tabl/formats.rb, line 13 def self.method_missing(key, *args) @@formats[key] || super end
register(key, mod)
click to toggle source
# File lib/tabl/formats.rb, line 5 def self.register(key, mod) @@formats[key] = mod end