class Cucumber::Messages::PickleStep

#
An executable step
*
#
Represents the PickleStep message in Cucumber’s message protocol.
#

def self.from_h(hash)

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

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new PickleStep from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    argument: PickleStepArgument.from_h(hash[:argument]),
    ast_node_ids: hash[:astNodeIds],
    id: hash[:id],
    type: hash[:type],
    text: hash[:text]
  )
end

def initialize(

def initialize(
  argument: nil,
  ast_node_ids: [],
  id: '',
  type: nil,
  text: ''
)
  @argument = argument
  @ast_node_ids = ast_node_ids
  @id = id
  @type = type
  @text = text
  super()
end