Exception: Rubuild::Build::Context::Error::Runable

Inherits:
Rubuild::Build::Context::Error show all
Defined in:
lib/rubuild/build/context.rb

Overview

Rubuild::Build::Context::Error::Runable Attempt to make dependency runable when not loaded.

Instance Method Summary collapse

Constructor Details

#initialize(context, dep) ⇒ Runable

Create a Rubuild::Build::Context::Error::Runable exception.

context

Rubuild::Build::Context which generated the exception.

dep

Dependency made runable when not loaded.



41
42
43
44
45
46
47
# File 'lib/rubuild/build/context.rb', line 41

def initialize(context, dep)
  super(
    context,
    "Attempt to make dependancy #{dep.name} runable when not loaded."
    )
  self.rubuild_build_context_error_runable__dep = dep
end