Sha256: e13330fbcb8165e7b75a2f1f78985738b6363270f0d9a6347a0f850fdfc30c6d
Contents?: true
Size: 652 Bytes
Versions: 39
Compression:
Stored size: 652 Bytes
Contents
module Rabbit module Renderer module Print extend Utils A4_WIDTH = 596 A4_HEIGHT = 842 class << self @initialized = false def init unless @initialized @initialized = true dir = ::File.join("rabbit", "renderer", "print") require_files_under_directory_in_load_path(dir) end end def new(*args, &block) init corresponding_class_under_module(self).new(*args, &block) end def printable? init not corresponding_class_under_module(self).nil? end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems