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



13
14
15
16
17
# File 'lib/torba/package.rb', line 13

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

Instance Attribute Details

#packageObject (readonly)

Since:

  • 0.1.0



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

def package
  @package
end

#pathObject (readonly)

Since:

  • 0.1.0



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

def path
  @path
end