class Cucumber::Messages::RuleChild
def self.from_h(hash)
def self.from_h(hash) return nil if hash.nil? self.new( background: Background.from_h(hash[:background]), scenario: Scenario.from_h(hash[:scenario]), ) end
def initialize(
def initialize( background: nil, scenario: nil ) @background = background @scenario = scenario end