Sha256: 749258898f937d74f63dad2415d7993c879ea74a5201ed36f2cb8eb4064d17f3
Contents?: true
Size: 489 Bytes
Versions: 16
Compression:
Stored size: 489 Bytes
Contents
require 'gherkin/formatter/json_formatter' module MediawikiSelenium module Raita class Formatter < Gherkin::Formatter::JSONFormatter attr_reader :feature_hashes def initialize super(NullIO.new) end # Allows for simple embeddings without base64 encoding. # def embedding(mime_type, data) return unless mime_type.start_with?('text/') embeddings << { 'mime_type' => mime_type, 'data' => data } end end end end
Version data entries
16 entries across 16 versions & 1 rubygems