lib/lookbook/param.rb in lookbook-2.0.0.beta.3 vs lib/lookbook/param.rb in lookbook-2.0.0.beta.4
- old
+ new
@@ -63,10 +63,10 @@
protected
def input_config
config = Lookbook::Engine.inputs.get_input(input)
- config || raise(LookbookError.new("Unknown input type '#{input}'"))
+ config || raise(Lookbook::Error.new("Unknown input type '#{input}'"))
end
def guess_input
if @value_type == "boolean" || (@value_type.blank? && boolean?(value_default))
"toggle"