Exception: Rubuild::Build::Dep::Error::Parameter

Inherits:
Rubuild::Build::Dep::Error show all
Defined in:
lib/rubuild/build/dep.rb

Overview

Rubuild::Build::Dep::Error::Parameter Parameter error (parameter modified after dependency made runable).

Direct Known Subclasses

Args, Command

Defined Under Namespace

Classes: Args, Command

Instance Method Summary collapse

Constructor Details

#initialize(dep, nm) ⇒ Parameter

Create a Rubuild::Build::Dep::Error::Parameter Used internally.

dep

The Rubuild::Build::Dep for which someone tried to modify the parameter.

nm

The name of the parameter attempted modification.



82
83
84
85
86
87
88
89
# File 'lib/rubuild/build/dep.rb', line 82

def initialize(dep, nm)
  super(
    dep,
    "Dependency parameter '#{nm}' modified after " +
    "dep '#{dep.name}' built."
    )
  self.rubuild_build_dep_error_parameter__parameter = nm
end