lib/eye/dsl.rb in reel-eye-0.3.2 vs lib/eye/dsl.rb in reel-eye-0.4

- old
+ new

@@ -25,16 +25,16 @@ end def parse(content = nil, filename = nil) Eye.parsed_config = Eye::Config.new Eye.parsed_filename = filename - + content = File.read(filename) if content.blank? - + silence_warnings do Kernel.eval(content, Eye::BINDING, filename.to_s) end - + Eye.parsed_config.validate! Eye.parsed_config end def parse_apps(*args)