Sha256: 055cea3f532e091d3c25c8ee7ac9f075d103871aa7f539f98a8e9674d8b647d3
Contents?: true
Size: 402 Bytes
Versions: 6
Compression:
Stored size: 402 Bytes
Contents
require_relative 'reader' require_relative 'multi_register' module Estratto module Layout class LayoutUndefinedError < StandardError; end class Factory def self.fabricate(layout_path) reader = Reader.new(layout_path) if reader.multiregister? MultiRegister.new(reader) else raise LayoutUndefinedError end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems