Sha256: d94c86e48df0ac1043aa2e10c47278fdd341a406a89c88297820ff43584dbe68
Contents?: true
Size: 504 Bytes
Versions: 2
Compression:
Stored size: 504 Bytes
Contents
module ErbLatex class << self attr_reader :config end def self.configure yield(@config) end class Configuration attr_accessor :file_extension attr_accessor :xelatex_path attr_accessor :verbose_logs def initialize @verbose_logs = false @file_extension = '.tex.erb' @xelatex_path = 'xelatex' end end # Initialize configuration with defaults @config = Configuration.new end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
erb_latex-1.0.0 | lib/erb_latex/configuration.rb |
erb_latex-0.3.0 | lib/erb_latex/configuration.rb |