Method: Microstation.dump_template_info_for_dir
- Defined in:
- lib/microstation.rb
.dump_template_info_for_dir(dir, **options) ⇒ Object
98 99 100 101 102 103 104 105 |
# File 'lib/microstation.rb', line 98 def dump_template_info_for_dir(dir, **) drawings = drawings_in_dir(dir) raise "no drawings in dir #{dir}" if drawings.empty? with_drawings(drawings) do |drawing| template = TemplateInfo.new(drawing, **) template.dump(dir) end end |