lib/erb_asterisk.rb in erb_asterisk-0.0.16 vs lib/erb_asterisk.rb in erb_asterisk-0.0.17
- old
+ new
@@ -58,10 +58,10 @@
end
def render_files(root)
erbs = load_erbs(root)
- if erbs.size == 0
+ if erbs.empty?
log_debug('nothing to do')
return
end
# It does two round of rendering because of apply_line_to and yield_here.