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