Exception: Bade::Renderer::LoadError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/bade/renderer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loading_path, reference_path, msg = nil) ⇒ LoadError

Returns a new instance of LoadError.

Parameters:

  • loading_path (String)

    currently loaded path

  • reference_path (String)

    reference file from which is load performed

  • msg (String) (defaults to: nil)

    standard message



25
26
27
28
29
# File 'lib/bade/renderer.rb', line 25

def initialize(loading_path, reference_path, msg = nil)
  super(msg)
  @loading_path = loading_path
  @reference_path = reference_path
end

Instance Attribute Details

#loading_pathString (readonly)

Returns:



15
16
17
# File 'lib/bade/renderer.rb', line 15

def loading_path
  @loading_path
end

#reference_pathString (readonly)

Returns:



19
20
21
# File 'lib/bade/renderer.rb', line 19

def reference_path
  @reference_path
end