Method: Multisync::Catalog#path
- Defined in:
- lib/multisync/catalog.rb
#path ⇒ Object
31 32 33 34 35 |
# File 'lib/multisync/catalog.rb', line 31 def path return @path if File.exist? @path sample_path = File.('../../../sample/multisync.rb', __FILE__) raise RuntimeError.new, "No catalog found at #{@path}. Copy sample from #{sample_path} to #{@path} and adjust to your needs." end |