Exception: LeapCli::FileMissing

Inherits:
StandardError
  • Object
show all
Defined in:
lib/leap_cli/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, options = {}) ⇒ FileMissing

Returns a new instance of FileMissing.



16
17
18
19
# File 'lib/leap_cli/exceptions.rb', line 16

def initialize(path, options={})
  @path = path
  @options = options
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



15
16
17
# File 'lib/leap_cli/exceptions.rb', line 15

def options
  @options
end

#pathObject

Returns the value of attribute path.



15
16
17
# File 'lib/leap_cli/exceptions.rb', line 15

def path
  @path
end

Instance Method Details

#to_sObject



20
21
22
# File 'lib/leap_cli/exceptions.rb', line 20

def to_s
  @path
end