class Cucumber::Messages::UndefinedParameterType
Attributes
expression[R]
name[R]
Public Class Methods
from_h(hash)
click to toggle source
Returns a new UndefinedParameterType
from the given hash. If the hash keys are camelCased, they are properly assigned to the corresponding snake_cased attributes.
Cucumber::Messages::UndefinedParameterType.from_h(some_hash) # => #<Cucumber::Messages::UndefinedParameterType:0x... ...>
# File lib/cucumber/messages.deserializers.rb, line 1197 def self.from_h(hash) return nil if hash.nil? self.new( expression: hash[:expression], name: hash[:name], ) end
new( expression: '', name: '' )
click to toggle source
# File lib/cucumber/messages.dtos.rb, line 1949 def initialize( expression: '', name: '' ) @expression = expression @name = name end