Class: Thor::Actions::Get
- Defined in:
- lib/thor/actions/get.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
#render ⇒ Object
30 31 32 |
# File 'lib/thor/actions/get.rb', line 30 def render @render ||= open(source).read end |