class Cucumber::Messages::Git

#
variables.
Information about Git, provided by the Build/CI server as environment
#
Represents the Git message in Cucumber’s message protocol.
#

def self.from_h(hash)

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

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new Git from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    remote: hash[:remote],
    revision: hash[:revision],
    branch: hash[:branch],
    tag: hash[:tag]
  )
end

def initialize(

def initialize(
  remote: '',
  revision: '',
  branch: nil,
  tag: nil
)
  @remote = remote
  @revision = revision
  @branch = branch
  @tag = tag
  super()
end