Sha256: 07a176abe840ec4ab6fc7c5d2ac5b1854d4d84a407502984ac79a0482645926a

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

module Pizzazz
  TAB_SIZE = 2

  def self.ify(object, options = nil)
    p = Colorer.new(object, options)
    p.ify
  end
end

# TODO: This is ugly. I'd love a better solution.
begin
  require 'rails'
  require 'pizzazz/engine'
  Pizzazz::RAILS_AVAILABLE = true
rescue LoadError
  Pizzazz::RAILS_AVAILABLE = false
end

require 'pizzazz/colorer'
require 'pizzazz/html'
require 'pizzazz/version'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pizzazz-0.1.3 lib/pizzazz.rb