Class: USPSFlags::Core::Icons::Star
- Inherits:
-
Object
- Object
- USPSFlags::Core::Icons::Star
- Defined in:
- lib/usps_flags/core/icons/star.rb
Instance Method Summary collapse
Instance Method Details
#svg ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/usps_flags/core/icons/star.rb', line 11 def svg svg = "<path d=\"M 0 0\n" points.each { |x, y| svg << "l #{x} #{y}\n" } svg << "\" fill=\"#FFFFFF\" />\n" svg end |