No need to %Q for simple interpolations
This commit is contained in:
parent
7050a61e16
commit
fe2df4b2c4
|
@ -26,10 +26,10 @@ BANNER
|
||||||
|
|
||||||
if theme = self.class.themes.detect {|t| t.name == file_name}
|
if theme = self.class.themes.detect {|t| t.name == file_name}
|
||||||
if download_templates(theme).empty?
|
if download_templates(theme).empty?
|
||||||
say %Q[template_engine: #{template_engine} is not available for theme: #{file_name}]
|
say "template_engine: #{template_engine} is not available for theme: #{file_name}"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
say %Q[no such theme: #{file_name}\n available themes: #{self.class.themes.map(&:name).join ', '}]
|
say "no such theme: #{file_name}\n available themes: #{self.class.themes.map(&:name).join ', '}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue