Method: Squib::Args::ArgLoader#load!
- Defined in:
- lib/squib/args/arg_loader.rb
#load!(args, expand_by: 1, layout: {}, dpi: 300, cell_px: 37.5) ⇒ Object
Main class invoked by the client (i.e. dsl/ methods)
20 21 22 23 24 25 26 27 28 |
# File 'lib/squib/args/arg_loader.rb', line 20 def load!(args, expand_by: 1, layout: {}, dpi: 300, cell_px: 37.5) @dpi = dpi @cell_px = cell_px args[:layout] = prep_layout_args(args[:layout], expand_by: ) (args: args, by: , layout: layout) validate convert_units dpi: dpi, cell_px: cell_px self end |