    # File lib/chef/cookbook/metadata.rb, line 94
          def initialize(cookbook=nil, maintainer='Your Name', maintainer_email='youremail@example.com', license='Apache v2.0')
            @cookbook = cookbook
            @name = cookbook ? cookbook.name : ""
            @long_description = ""
            self.maintainer(maintainer)
            self.maintainer_email(maintainer_email)
            self.license(license)
            self.description('A fabulous new cookbook')
            @platforms = Mash.new
            @dependencies = Mash.new
            @recommendations = Mash.new
            @suggestions = Mash.new
            @conflicting = Mash.new
            @providing = Mash.new
            @replacing = Mash.new
            @attributes = Mash.new
            @groupings = Mash.new
            @recipes = Mash.new
            @version = Version.new "0.0.0"
            if cookbook
              @recipes = cookbook.fully_qualified_recipe_names.inject({}) do |r, e|
                e = self.name if e =~ /::default$/
                r[e] = ""
                self.provides e
                r
              end
            end
          end