# File lib/common/models/wp_theme.rb, line 13defallowed_options; super<<:style_urlend
forge_uri(target_base_uri)click to toggle source
Sets the @uri
@param [ URI ] target_base_uri The URI of the wordpress blog
@return [ void ]
# File lib/common/models/wp_theme.rb, line 20defforge_uri(target_base_uri)
@uri = target_base_uri.merge(URI.encode(wp_content_dir+'/themes/'+name+'/'))
end
style_url()click to toggle source
@return [ String ] The url to the theme stylesheet
# File lib/common/models/wp_theme.rb, line 25defstyle_urlunless@style_url@style_url = uri.merge('style.css').to_send@style_urlend