module Glam
Constants
- VERSION
Public Class Methods
glamorize(html, opts={})
click to toggle source
Pretty-print the HTML @param html [String] The HTML to be pretty-printed @param opts [Hash] The options @option opts [Integer] :indent_size
How many spaces should be used for each level of indentation
@return [String] The pretty-printed HTML
# File lib/glam/glamorizer.rb, line 81 def self.glamorize(html, opts={}) Glamorizer.new(opts).glamorize(html) end