Output theme info

This commit is contained in:
Christian Mehlmauer
2013-12-07 20:51:30 +01:00
parent 4c4b363035
commit 2fd11cba15
6 changed files with 109 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
# encoding: UTF-8
class WpTheme
module Output
# @return [ Void ]
def additional_output
puts " | Style URL: #{style_url}"
puts " | Theme Name: #@theme_name" if @theme_name
puts " | Theme URI: #@theme_uri" if @theme_uri
puts " | Description: #@theme_description" if @theme_description
puts " | Author: #@theme_author" if @theme_author
puts " | Author URI: #@theme_author_uri" if @theme_author_uri
puts " | Template: #@theme_template" if @theme_template
puts " | License: #@theme_license" if @theme_license_uri
puts " | Tags: #@theme_tags" if @theme_tags
puts " | Text Domain: #@theme_text_domain" if @theme_text_domain
end
end
end