Sha256: 9ae5cf4bdfb8300f6408bcd3b768f1f91e288723de1e4ba15344fd223000b505

Contents?: true

Size: 322 Bytes

Versions: 14

Compression:

Stored size: 322 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
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cistern-2.0.2 lib/cistern/formatter.rb
cistern-0.11.3 lib/cistern/formatter.rb
cistern-2.0.1 lib/cistern/formatter.rb
cistern-1.0.1.pre6 lib/cistern/formatter.rb
cistern-1.0.1.pre5 lib/cistern/formatter.rb
cistern-1.0.1.pre4 lib/cistern/formatter.rb
cistern-1.0.1.pre3 lib/cistern/formatter.rb
cistern-1.0.1.pre2 lib/cistern/formatter.rb
cistern-0.11.2 lib/cistern/formatter.rb
cistern-1.0.1.pre1 lib/cistern/formatter.rb
cistern-1.0.0.pre lib/cistern/formatter.rb
cistern-0.11.2.pre2 lib/cistern/formatter.rb
cistern-0.11.1 lib/cistern/formatter.rb
cistern-0.11.0 lib/cistern/formatter.rb