class Cucumber::Messages::TestStep
def self.from_h(hash)
def self.from_h(hash) return nil if hash.nil? self.new( hook_id: hash[:hookId], id: hash[:id], pickle_step_id: hash[:pickleStepId], step_definition_ids: hash[:stepDefinitionIds], step_match_arguments_lists: hash[:stepMatchArgumentsLists]&.map { |item| StepMatchArgumentsList.from_h(item) }, ) end