Class: DevStructure::Puppet::Class

Inherits:
Resource
  • Object
show all
Defined in:
lib/devstructure/puppet.rb

Overview

A class resource type for dependencies.

Instance Attribute Summary

Attributes inherited from Resource

#name, #style, #type

Instance Method Summary collapse

Methods inherited from Resource

[], defaults, #initialize, #pretty_print, #to_s

Constructor Details

This class inherits a constructor from DevStructure::Puppet::Resource

Instance Method Details

#inspectObject



189
190
191
# File 'lib/devstructure/puppet.rb', line 189

def inspect
  "#{@type.capitalize}[\"#{@name.gsub(".", "--")}\"]"
end