Module: ROM::Processor::Composer Private
- Included in:
- Transformer
- Defined in:
- lib/rom/processor/composer.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Factory
Instance Method Summary collapse
Instance Method Details
#compose(default = nil) {|factory| ... } ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
30 31 32 33 34 |
# File 'lib/rom/processor/composer.rb', line 30 def compose(default = nil) factory = Factory.new(default) yield(factory) factory.to_fn end |