Class: AppArchetype::Commands::PrintPath

Inherits:
Object
  • Object
show all
Defined in:
lib/app_archetype/commands/print_path.rb

Overview

Prints templates path to STDOUT

Instance Method Summary collapse

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, options = Hashie::Mash.new)
  @template_dir = template_dir
  @options = options
end

Instance Method Details

#runObject

Prints template directory to STDOUT



15
16
17
# File 'lib/app_archetype/commands/print_path.rb', line 15

def run
  puts(@template_dir)
end