class YARD::CodeObjects::Chef::Attribute

Simple class to handle Attributes and their specifics

Attributes

default[RW]
docstring[RW]
path[RW]
precedence[RW]

Public Class Methods

new(h) click to toggle source
# File lib/yard-chefdoc/code_objects/attribute.rb, line 38
def initialize(h)
  h.each { |k, v| instance_variable_set("@#{k}", v) }
end