Class: AppArchetype::Commands::PrintPath
- Inherits:
-
Object
- Object
- AppArchetype::Commands::PrintPath
- Defined in:
- lib/app_archetype/commands/print_path.rb
Overview
Prints templates path to STDOUT
Instance Method Summary collapse
-
#initialize(template_dir, options = Hashie::Mash.new) ⇒ PrintPath
constructor
A new instance of PrintPath.
-
#run ⇒ Object
Prints template directory to STDOUT.
Constructor Details
#initialize(template_dir, options = Hashie::Mash.new) ⇒ PrintPath
Returns a new instance of PrintPath.
7 8 9 10 |
# File 'lib/app_archetype/commands/print_path.rb', line 7 def initialize(template_dir, = Hashie::Mash.new) @template_dir = template_dir @options = end |
Instance Method Details
#run ⇒ Object
Prints template directory to STDOUT
15 16 17 |
# File 'lib/app_archetype/commands/print_path.rb', line 15 def run puts(@template_dir) end |