lib/usps_flags/generate.rb in usps_flags-0.6.1 vs lib/usps_flags/generate.rb in usps_flags-0.6.2

- old
+ new

@@ -108,13 +108,13 @@ # @param [String] outfile The path to save the SVG file to. If not set, prints to console. # @param [Integer] fly The nominal fly length of an appropriate flag field for the generated tridents. # @param [String] outfile The unit to append to all trident measurements. # @param [String] scale The image scale divisor factor. # @return [String] Returns the SVG data. - def intersection_spec(outfile: nil, fly: USPSFlags::Config::BASE_FLY, unit: nil, scale: nil, scaled_border: false) + def intersection_spec(outfile: nil, scale: nil, scaled_border: false) svg = +'' svg << USPSFlags::Core.headers(scale: scale, title: 'USPS Trident Specifications') - svg << USPSFlags::Core.intersection_spec(fly: fly, unit: unit, scaled_border: scaled_border) + svg << USPSFlags::Core.intersection_spec(scaled_border: scaled_border) svg << USPSFlags::Core.footer USPSFlags::Helpers.output(svg, outfile: outfile) end