diff options
Diffstat (limited to 'ports/dsl/nano-bots/cartridges.rb')
-rw-r--r-- | ports/dsl/nano-bots/cartridges.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/dsl/nano-bots/cartridges.rb b/ports/dsl/nano-bots/cartridges.rb new file mode 100644 index 0000000..fb23c39 --- /dev/null +++ b/ports/dsl/nano-bots/cartridges.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +require_relative '../../../controllers/cartridges' + +module NanoBot + module Cartridges + def self.all(components: {}) + Controllers::Cartridges.all(components:) + end + + def self.load(path) + Controllers::Cartridges.load(path) + end + end +end |