Sha256: 8bde413ba67a285f0a713c122a6d7c7dfd8ec66ddc02d731049718bf7077ada5

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

module Pizzazz
  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.5 lib/pizzazz.rb