lib/inverter/parser.rb in inverter-0.4.6 vs lib/inverter/parser.rb in inverter-0.4.7

- old
+ new

@@ -108,10 +108,14 @@ end private def file_content - @file_content ||= File.open(Rails.root.join("app/views", @template_name), "rb").read + @file_content ||= template_file + end + + def template_file + File.open(Rails.root.join("app/views", @template_name), "rb").read end end end