Class: YARD::CodeObjects::Chef::AttributeObject

Inherits:
ChefObject
  • Object
show all
Defined in:
lib/yard-chef/code_objects/attribute_object.rb

Overview

An AttributeObject represents a cookbook or a resource attribute. See wiki.opscode.com/display/chef/Attributes

Instance Attribute Summary

Attributes inherited from ChefObject

#docstring_type

Instance Method Summary collapse

Methods inherited from ChefObject

#children_by_type, #cookbooks, register, register_element

Constructor Details

#initialize(namespace, name) ⇒ AttributeObject

Creates a new instance of the AttributeObject.

belongs

Parameters:

  • namespace (NamespaceObject)

    namespace to which the attribute

  • name (String)

    name of the attribute



40
41
42
# File 'lib/yard-chef/code_objects/attribute_object.rb', line 40

def initialize(namespace, name)
  super(namespace, name)
end