This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EmblemToHbs | |
def convert | |
Dir.glob("**/*.emblem").each do |file| | |
convert_file(file) | |
end | |
end | |
def convert_file(file) | |
`emblem2hbs #{file}` | |
File.delete(file) |