Sha256: 5d721449b195deb04b1647e00493a4451355a1d0dfd08910939158cd75cbf394
Contents?: true
Size: 604 Bytes
Versions: 18
Compression:
Stored size: 604 Bytes
Contents
module BrDanfe module MdfeLib class Document def initialize @document = BrDanfe::DocumentBuilder.build( page_size: 'A4', page_layout: :portrait ) @document.font 'tinos' end def method_missing(method_name, *args, &block) if @document.respond_to? method_name @document.send method_name, *args, &block else super end end def respond_to_missing?(method_name, include_private = false) @document.respond_to?(method_name, include_private) || super end end end end
Version data entries
18 entries across 18 versions & 1 rubygems