Class: Jekyll::Site
- Inherits:
-
Object
- Object
- Jekyll::Site
- Defined in:
- lib/hj7/tidy.rb,
lib/hj7/jammit.rb,
lib/hj7/notifier.rb
Instance Method Summary collapse
- #process ⇒ Object
- #process_without_growl ⇒ Object
- #process_without_jammit ⇒ Object
- #process_without_tidy ⇒ Object
Instance Method Details
#process ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/hj7/tidy.rb', line 5 def process process_without_tidy if config.has_key?("tidy") and config["tidy"].has_key?("config_file") config_file = config["tidy"]["config_file"] if File.exists?(config_file) puts "tidy!!" system "find _site -name \"*.html\" -exec tidy -config #{config_file} {} \\;" end end end |
#process_without_growl ⇒ Object
106 107 108 109 110 111 112 113 114 115 |
# File 'lib/hj7/notifier.rb', line 106 def process process_without_tidy if config.has_key?("tidy") and config["tidy"].has_key?("config_file") config_file = config["tidy"]["config_file"] if File.exists?(config_file) puts "tidy!!" system "find _site -name \"*.html\" -exec tidy -config #{config_file} {} \\;" end end end |
#process_without_jammit ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/hj7/jammit.rb', line 6 def process process_without_tidy if config.has_key?("tidy") and config["tidy"].has_key?("config_file") config_file = config["tidy"]["config_file"] if File.exists?(config_file) puts "tidy!!" system "find _site -name \"*.html\" -exec tidy -config #{config_file} {} \\;" end end end |
#process_without_tidy ⇒ Object
3 |
# File 'lib/hj7/tidy.rb', line 3 alias :process_without_tidy :process |