Class: USPSFlags::Core::TridentSpecs::BuildIntersections
- Inherits:
-
Object
- Object
- USPSFlags::Core::TridentSpecs::BuildIntersections
- Defined in:
- lib/usps_flags/core/trident_specs/build_intersections.rb
Instance Method Summary collapse
-
#initialize(fly: 2048, scaled_border: false) ⇒ BuildIntersections
constructor
A new instance of BuildIntersections.
- #svg ⇒ Object
Constructor Details
#initialize(fly: 2048, scaled_border: false) ⇒ BuildIntersections
Returns a new instance of BuildIntersections.
11 12 13 14 15 |
# File 'lib/usps_flags/core/trident_specs/build_intersections.rb', line 11 def initialize(fly: 2048, scaled_border: false) @scaled_border = scaled_border configure_sizes(fly) configure_labels('') end |
Instance Method Details
#svg ⇒ Object
17 18 19 20 21 22 |
# File 'lib/usps_flags/core/trident_specs/build_intersections.rb', line 17 def svg svg = spec_header svg << add_cc_intersection svg << add_vc_intersection svg end |