README.md in usps_flags-0.5.0 vs README.md in usps_flags-0.5.1
- old
+ new
@@ -123,9 +123,15 @@
f.trim = true
f.svg_file = "/path/to/svg/output.svg"
f.png_file = "/path/to/png/output.png"
end
+flag = USPSFlags.new(
+ type: "LtC", scale: 3, field: false, trim: true,
+ svg_file: "/path/to/svg/output.svg",
+ png_file: "/path/to/png/output.png"
+)
+
flag.svg #=> Generates SVG file at "/path/to/svg/output.svg"
flag.png #=> Generates PNG file at "/path/to/png/output.png"
```
- You can explicitly set `svg_file` to `""` to suppress printing the SVG content