class Cucumber::Messages::Group

#
#
Represents the Group message in Cucumber’s message protocol.
#

def self.from_h(hash)

#
Cucumber::Messages::Group.from_h(some_hash) # => #

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new Group from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    children: hash[:children]&.map { |item| Group.from_h(item) },
    start: hash[:start],
    value: hash[:value]
  )
end

def initialize(

def initialize(
  children: [],
  start: nil,
  value: nil
)
  @children = children
  @start = start
  @value = value
  super()
end