Sha256: aac8388f0147b9d31c3832cb2c4146df8510b31719492e41b81fa6f0dcdb29fa

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

module Pizzazz
  def self.ify_html(object, options = nil)
    p = Colorer.new(object, options)
    html = %Q{<pre class="pizzazz">#{p.ify}</pre>}
    html = html.html_safe if Pizzazz::RAILS_AVAILABLE
    html
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pizzazz-0.3.0 lib/pizzazz/html.rb
pizzazz-0.2.1 lib/pizzazz/html.rb
pizzazz-0.2.0 lib/pizzazz/html.rb
pizzazz-0.1.5 lib/pizzazz/html.rb
pizzazz-0.1.3 lib/pizzazz/html.rb
pizzazz-0.1.2 lib/pizzazz/html.rb