class Omnibus::MissingProjectConfiguration

Raise this error if a needed Project configuration value has not been set.

Public Class Methods

new(parameter_name, sample_value) click to toggle source
# File lib/omnibus/exceptions.rb, line 97
def initialize(parameter_name, sample_value)
  @parameter_name, @sample_value = parameter_name, sample_value
end

Public Instance Methods

to_s() click to toggle source
# File lib/omnibus/exceptions.rb, line 101
def to_s
  """
  You are attempting to build a project, but have not specified
  a value for '#{@parameter_name}'!

  Please add code similar to the following to your project DSL file:

     #{@parameter_name} '#{@sample_value}'

  """
end