lib/rubber/commands/vulcanize.rb in rubber-2.12.2 vs lib/rubber/commands/vulcanize.rb in rubber-2.13.0
- old
+ new
@@ -75,10 +75,10 @@
def self.source_root
File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'templates'))
end
- def self.valid_templates()
+ def self.valid_templates
Dir.entries(self.source_root).delete_if {|e| e =~ /(^\.)|svn|CVS/ }.sort
end
desc "vulcanize TEMPLATE", ""