Class: BrDanfe::MdfeLib::Drivers
- Inherits:
-
Object
- Object
- BrDanfe::MdfeLib::Drivers
- Defined in:
- lib/br_danfe/mdfe_lib/drivers.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(pdf, xml) ⇒ Drivers
constructor
A new instance of Drivers.
Constructor Details
#initialize(pdf, xml) ⇒ Drivers
Returns a new instance of Drivers.
4 5 6 7 |
# File 'lib/br_danfe/mdfe_lib/drivers.rb', line 4 def initialize(pdf, xml) @pdf = pdf @xml = xml end |
Instance Method Details
#generate ⇒ Object
9 10 11 12 13 14 |
# File 'lib/br_danfe/mdfe_lib/drivers.rb', line 9 def generate @pdf.move_cursor_to 460 title table_titles generate_drivers end |