class Podpisy::CLI
Public Instance Methods
execute()
click to toggle source
# File lib/podpisy/cli.rb, line 12 def execute if generate? src = File.expand_path("../../../share/szablon", __FILE__) FileUtils.copy_entry src, file return end sigs = Signatures.new(file, areas: areas?) if csv open(csv, 'wb') do |out| sigs.to_csv out end end if tex open(tex, 'wb') do |out| sigs.to_tex out end end end