Class: SwiftLibTemplater::CopyTemplateCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/swift_lib_templater/open_projet_command.rb,
lib/swift_lib_templater/copy_template_command.rb

Instance Method Summary collapse

Constructor Details

#initialize(dest) ⇒ CopyTemplateCommand

Returns a new instance of CopyTemplateCommand.



4
5
6
# File 'lib/swift_lib_templater/open_projet_command.rb', line 4

def initialize(dir)
  @dir = dir
end

Instance Method Details

#executeObject



8
9
10
# File 'lib/swift_lib_templater/open_projet_command.rb', line 8

def execute()
  systemWithoutOutput("open '#{@dir}'")
end