Method: Architecture::Entity#copy

Defined in:
lib/architecture/entity.rb

#copy(entity:, engine: DEFAULT_ENGINE) ⇒ Object



32
33
34
# File 'lib/architecture/entity.rb', line 32

def copy(entity:, engine: DEFAULT_ENGINE)
  system("cp #{location(engine: engine)} #{entity.location(engine: engine)}")
end