Sha256: c4fe76f7c0ee086372562d52094cf11776fcbd0d6b9768dcb55a9c549ed79c9a
Contents?: true
Size: 402 Bytes
Versions: 22
Compression:
Stored size: 402 Bytes
Contents
module Cistern::Formatter autoload :AwesomePrint, 'cistern/formatter/awesome_print' autoload :Formatador, 'cistern/formatter/formatador' def self.default if defined?(::AwesomePrint) Cistern::Formatter::AwesomePrint elsif defined?(::Formatador) Cistern::Formatter::Formatador else Cistern::Formatter::Default end end end require 'cistern/formatter/default'
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
cistern-0.12.1 | lib/cistern/formatter.rb |
cistern-2.0.3 | lib/cistern/formatter.rb |