Exception: ConfigKit::Data::Loader::LoaderFailure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/config_kit/data/loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, opts = nil) ⇒ LoaderFailure

Returns a new instance of LoaderFailure.



8
9
10
11
# File 'lib/config_kit/data/loader.rb', line 8

def initialize message, opts=nil
  super message
  @options = opts
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



7
8
9
# File 'lib/config_kit/data/loader.rb', line 7

def options
  @options
end