class Chef::Util::DSC::ResourceInfo

Attributes

change_log[R]

A list of all log messages between [Start Set] and [End Set]. Each line is an element in the list.

name[R]

The name is the text following [Start Set]

Public Class Methods

new(name, sets, change_log) click to toggle source
# File lib/chef/util/dsc/resource_info.rb, line 13
def initialize(name, sets, change_log)
  @name = name
  @sets = sets
  @change_log = change_log || []
end

Public Instance Methods

changes_state?() click to toggle source

Does this resource change the state of the system?

# File lib/chef/util/dsc/resource_info.rb, line 20
def changes_state?
  @sets
end