lib/usps_flags/burgees.rb in usps_flags-burgees-0.0.15 vs lib/usps_flags/burgees.rb in usps_flags-burgees-0.0.16

- old
+ new

@@ -15,11 +15,11 @@ # Constructor for generating burgees. # # @example Generate Birmingham's burgee # burgee = USPSFlags::Burgee.new do |b| # b.type = :birmingham - # b.ourfile = "/path/to/svg/output.svg" + # b.outfile = "/path/to/svg/output.svg" # end # # burgee.svg #=> Generates SVG file at "/path/to/svg/output.svg" def initialize @squadron = nil @@ -35,9 +35,10 @@ attr_accessor :squadron attr_accessor :outfile # attr_accessor :width # attr_accessor :height attr_accessor :title + attr_accessor :outfile # Generates the constructed file as SVG. # # @return [String] Returns the SVG file output path, or the svg data if no path was specified. def svg