require 'turnip_formatter/step/failure' module Gnawrnip module StepScreenshot # # @param [String] png_file base64 encoded # def self.build(png_base64) img = '' img end end end TurnipFormatter::Step::Failure.add_template :screenshot, Gnawrnip::StepScreenshot do example.metadata[:gnawrnip][:screenshot] end