module Thinreports
Constants
- VERSION
Public Class Methods
config()
click to toggle source
@return [Thinreports::Configuration]
# File lib/thinreports/config.rb, line 11 def self.config @config ||= Thinreports::Configuration.new end
configure(&block)
click to toggle source
@yield [config] @yieldparam [Thinreports::Configuration] config
# File lib/thinreports/config.rb, line 6 def self.configure(&block) Thinreports.call_block_in(config, &block) end
generate(report_params, filename: nil)
click to toggle source
# File lib/thinreports.rb, line 10 def self.generate(report_params, filename: nil) Generate.new.call(report_params, filename: filename) end
root()
click to toggle source
# File lib/thinreports.rb, line 6 def self.root @root ||= Pathname.new(__FILE__).join('..', '..') end