Class: Estratto::Layout::Factory
- Inherits:
-
Object
- Object
- Estratto::Layout::Factory
- Defined in:
- lib/estratto/layout/factory.rb
Class Method Summary collapse
Class Method Details
.fabricate(layout_path) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/estratto/layout/factory.rb', line 9 def self.fabricate(layout_path) reader = Reader.new(layout_path) if reader.multiregister? MultiRegister.new(reader) else raise LayoutUndefinedError end end |