class Cucumber::Messages::Meta

def self.from_h(hash)

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

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new Meta from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    protocol_version: hash[:protocolVersion],
    implementation: Product.from_h(hash[:implementation]),
    runtime: Product.from_h(hash[:runtime]),
    os: Product.from_h(hash[:os]),
    cpu: Product.from_h(hash[:cpu]),
    ci: Ci.from_h(hash[:ci])
  )
end