Top Level Namespace
Defined Under Namespace
Modules: Monet
Instance Method Summary collapse
Instance Method Details
#images_from_dir(dir) ⇒ Object
8 9 10 |
# File 'lib/monet/tasks.rb', line 8 def images_from_dir(dir) Dir.glob File.join(dir, "**", "*.png") end |
#load_config(args) ⇒ Object
3 4 5 6 |
# File 'lib/monet/tasks.rb', line 3 def load_config(args) args.with_defaults(path: './config.yaml') Monet::Config.load args[:path] end |