Class: Puppet::Module::Tool::Applications::Generator::FileNode
- Defined in:
- lib/puppet/module/tool/applications/generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Node
inherited, #initialize, on, #read, #target, types
Constructor Details
This class inherits a constructor from Puppet::Module::Tool::Applications::Generator::Node
Class Method Details
.matches?(path) ⇒ Boolean
106 107 108 |
# File 'lib/puppet/module/tool/applications/generator.rb', line 106 def self.matches?(path) path.file? end |
Instance Method Details
#install! ⇒ Object
109 110 111 |
# File 'lib/puppet/module/tool/applications/generator.rb', line 109 def install! FileUtils.cp(@source, target) end |