lib/squib/args/arg_loader.rb in squib-0.13.4 vs lib/squib/args/arg_loader.rb in squib-0.14.beta1

- old
+ new

@@ -15,10 +15,10 @@ Squib.logger.debug { "ARG LOADER: load! for #{self.class}, args: #{args}" } @dpi = dpi args[:layout] = prep_layout_args(args[:layout], expand_by: expand_by) expand_and_set_and_defaultify(args: args, by: expand_by, layout: layout) validate - convert_units + convert_units dpi: dpi self end def expand_and_set_and_defaultify(args: {}, by: 1, layout: {}) attributes = self.class.parameters.keys