class Nocode::StepRegistry
Provides a global place to register all valid steps by their types. By default the steps directory will be autoloaded and their paths will be used as their types. For example: for the class: steps/io/write, it would register as “io/write” type.
Constants
- CLASS_PREFIX
- DIR
Public Instance Methods
load!()
click to toggle source
# File lib/nocode/step_registry.rb, line 26 def load! files_loaded = Util::ClassLoader.new(DIR).load! # Class the parent to load up the registry with the files we found. load(files_loaded, class_prefix: CLASS_PREFIX) end