Method: RSchema::Schemas::Pipeline#with_wrapped_subschemas

Defined in:
lib/rschema/schemas/pipeline.rb

#with_wrapped_subschemas(wrapper) ⇒ Object



36
37
38
39
# File 'lib/rschema/schemas/pipeline.rb', line 36

def with_wrapped_subschemas(wrapper)
  wrapped_subschemas = subschemas.map{ |ss| wrapper.wrap(ss) }
  self.class.new(wrapped_subschemas)
end