Class: DevelopWithPassion::Expander::ArrayDSLModuleFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/developwithpassion_expander/array_dsl_module_factory.rb

Instance Method Summary collapse

Instance Method Details

#create_modules_from(dsl) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/developwithpassion_expander/array_dsl_module_factory.rb', line 4

def create_modules_from(dsl)
  return [
    ArrayMutatorStep.new.run_using(dsl),
    ArrayVisitorStep.new.run_using(dsl),
    ArrayWriteableStep.new.run_using(dsl),
    ArrayReadableStep.new.run_using(dsl)
  ]
end