class Package::Package @recipe : Recipe def initialize(@recipe) end macro inherit(attribute) @{{attribute.var.id}} : {{attribute.type.id}}? def {{attribute.var.id}} : {{attribute.type.id}} @{{attribute.var.id}} || @recipe.{{attribute.var.id}} end end inherit name : String inherit version : String # Internals inherit fake_root_directory : String def to_s "" end end