Sha256: 0e9333724de1315b7bd7a826b2b7cd3a096121cb3ccbe3d1522fc0720faa54c2
Contents?: true
Size: 433 Bytes
Versions: 3
Compression:
Stored size: 433 Bytes
Contents
# frozen_string_literal: true 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cistern-2.10.0 | lib/cistern/formatter.rb |
cistern-2.8.2 | lib/cistern/formatter.rb |
cistern-2.8.1 | lib/cistern/formatter.rb |