Use clear `if` instead of `unless` for condition.

parent 5dff2194
...@@ -213,12 +213,12 @@ module MRuby ...@@ -213,12 +213,12 @@ module MRuby
def print_gem_init_header(f) def print_gem_init_header(f)
print_gem_comment(f) print_gem_comment(f)
unless rbfiles.empty? if rbfiles.empty?
f.puts %Q[#include <stdlib.h>]
f.puts %Q[#include <mruby.h>] f.puts %Q[#include <mruby.h>]
f.puts %Q[#include <mruby/proc.h>]
else else
f.puts %Q[#include <stdlib.h>]
f.puts %Q[#include <mruby.h>] f.puts %Q[#include <mruby.h>]
f.puts %Q[#include <mruby/proc.h>]
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment