Class: Origen::Application::CommandDispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/application/command_dispatcher.rb

Instance Method Summary collapse

Instance Method Details

#snapshots_exist?Boolean

Returns true if some pre-built workspace snaphots exist. The location of these is defined by the configuration attribute config.snapshots_directory

Returns:

  • (Boolean)

7
8
9
# File 'lib/origen/application/command_dispatcher.rb', line 7

def snapshots_exist?
  File.exist?(Origen.config.snapshots_directory)
end