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