class Cucumber::Messages::PickleStepArgument
#
An optional argument
#
Represents the PickleStepArgument message in Cucumber’s message protocol.
#
def self.from_h(hash)
Cucumber::Messages::PickleStepArgument.from_h(some_hash) # => #
corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new PickleStepArgument from the given hash.
#
def self.from_h(hash) return nil if hash.nil? new( doc_string: PickleDocString.from_h(hash[:docString]), data_table: PickleTable.from_h(hash[:dataTable]) ) end
def initialize(
def initialize( doc_string: nil, data_table: nil ) @doc_string = doc_string @data_table = data_table super() end