lib/pacto/file_pre_processor.rb in pacto-0.0.1 vs lib/pacto/file_pre_processor.rb in pacto-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
module Pacto
class FilePreProcessor
def process(file_string)
erb = ERB.new file_string
erb_result = erb.result binding
- if ENV["DEBUG_CONTRACTS"]
+ if ENV["DEBUG_PACTO"]
puts "[DEBUG] Processed contract: #{erb_result.inspect}"
end
erb_result
end
end
\ No newline at end of file