Exception: Torba::Errors::NothingToImport

Inherits:
StandardError
  • Object
show all
Defined in:
lib/torba/package.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ NothingToImport

Returns a new instance of NothingToImport.

Since:

  • 0.1.0



11
12
13
14
15
# File 'lib/torba/package.rb', line 11

def initialize(options)
  @package = options.fetch(:package)
  @path = options.fetch(:path)
  super
end

Instance Attribute Details

#packageObject (readonly)

Since:

  • 0.1.0



9
10
11
# File 'lib/torba/package.rb', line 9

def package
  @package
end

#pathObject (readonly)

Since:

  • 0.1.0



9
10
11
# File 'lib/torba/package.rb', line 9

def path
  @path
end