class Cucumber::Messages::Comment
def self.from_h(hash)
def self.from_h(hash) return nil if hash.nil? self.new( location: Location.from_h(hash[:location]), text: hash[:text], ) end
def initialize(
def initialize( location: Location.new, text: '' ) @location = location @text = text end