Exception: FlavorArgumentRequired

Inherits:
FlavorError
  • Object
show all
Defined in:
lib/lace/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(available_flavors) ⇒ FlavorArgumentRequired

Returns a new instance of FlavorArgumentRequired.



44
45
46
# File 'lib/lace/exceptions.rb', line 44

def initialize available_flavors
  super FlavorArgumentMsg % available_flavors.join("\n- ")
end