class Cucumber::Messages::PickleDocString
def self.from_h(hash)
def self.from_h(hash) return nil if hash.nil? self.new( media_type: hash[:mediaType], content: hash[:content], ) end
def initialize(
def initialize( media_type: nil, content: '' ) @media_type = media_type @content = content end