Sha256: 7fdb8a673811f5a866ca77a19dffc5f1f59377e93b7e51cb84785ae5a8b3835d

Contents?: true

Size: 613 Bytes

Versions: 32

Compression:

Stored size: 613 Bytes

Contents

class Chef
  class Util
    class DSC
      class ResourceInfo
        # The name is the text following [Start Set]
        attr_reader :name

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

        def initialize(name, sets, change_log)
          @name = name
          @sets = sets
          @change_log = change_log || []
        end

        # Does this resource change the state of the system?
        def changes_state?
          @sets
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
chef-14.13.11-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-15.0.300-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-15.0.298-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-15.0.293-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.12.9-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.12.3-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-13.12.14-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.11.21-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.10.9-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.9.13-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.8.12-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.7.17-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-13.12.3-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.6.47-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-13.11.3-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.5.33-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-13.10.4-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-14.3.37-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-13.10.0-universal-mingw32 lib/chef/util/dsc/resource_info.rb
chef-13.9.4-universal-mingw32 lib/chef/util/dsc/resource_info.rb