Class: Librarian::Action::Ensure

Inherits:
Base
  • Object
show all
Defined in:
lib/librarian/action/ensure.rb

Instance Attribute Summary

Attributes inherited from Base

#environment, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Librarian::Action::Base

Instance Method Details

#runObject

Raises:



8
9
10
# File 'lib/librarian/action/ensure.rb', line 8

def run
  raise Error, "Cannot find #{specfile_name}!" unless project_path
end