Sha256: 4ac886e15f6a330e9b731bf7530a3340cf9e816e789f39b3ace6a3dde6585bb6
Contents?: true
Size: 323 Bytes
Versions: 13
Compression:
Stored size: 323 Bytes
Contents
module Pronto module Formatter def self.get(name) formatter = FORMATTERS[name.to_s] || TextFormatter formatter.new end def self.names FORMATTERS.keys end FORMATTERS = { 'github' => GithubFormatter, 'json' => JsonFormatter, 'text' => TextFormatter } end end
Version data entries
13 entries across 13 versions & 1 rubygems