Sha256: 3b528a0b0a6e56a5a851b2e1689def0eb7e1123a212818816439c1fc8d48d0a9
Contents?: true
Size: 642 Bytes
Versions: 5
Compression:
Stored size: 642 Bytes
Contents
# coding: utf-8 module Thinreports module Generator # @deprecated This class will be removed in the next major version. class Configuration # @return [Symbol] attr_reader :default def initialize @default = :pdf end # @return [Thinreports::Generator::PDF::Configuration] def pdf @pdf ||= PDF::Configuration.new end # @param [Symbol] type # @return [void] def default=(type) unless Generator.registry.key?(type) raise Thinreports::Errors::UnknownGeneratorType.new(type) end @default = type end end end end
Version data entries
5 entries across 5 versions & 1 rubygems