Class: Thor::Actions::CopyFile

Inherits:
Templater show all
Defined in:
lib/thor/actions/copy_file.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Templater

#base, #destination, #given_destination, #relative_destination, #source

Instance Method Summary collapse

Methods inherited from Templater

#exists?, #identical?, #initialize, #invoke!, #revoke!

Constructor Details

This class inherits a constructor from Thor::Actions::Templater

Instance Method Details

#renderObject



26
27
28
# File 'lib/thor/actions/copy_file.rb', line 26

def render
  @render ||= ::File.read(source)
end