module TextTube::Baby::Spiffing
Will transform the Queen's English into American English for use in CSS, as the current CSS standards prefer ugly words. Inspired by visualidiot's SpiffingCSS (see spiffingcss.com/)
Constants
- DICTIONARY
The dictionary.
Public Class Methods
run( content, options={})
click to toggle source
@param [String] content @param [Hash] options
# File lib/texttube/baby/spiffing.rb, line 33 def self.run( content, options={}) ugly_child = content.dup DICTIONARY.each do |english, ugly| ugly_child.sub! english, ugly end ugly_child end