Class: Archimate::Svg::Entity::Facility
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- Archimate::Svg::Entity::Facility
- Includes:
- NodeShape
- Defined in:
- lib/archimate/svg/entity/facility.rb
Instance Attribute Summary
Attributes inherited from BaseEntity
#background_class, #badge, #badge_bounds, #bounds_offset, #child, #entity, #text_bounds
Instance Method Summary collapse
-
#initialize(child, bounds_offset) ⇒ Facility
constructor
A new instance of Facility.
Methods included from NodeShape
Methods inherited from BaseEntity
#entity_badge, #entity_label, #group_attrs, #optional_link, #shape_style, #text_lines, #text_style, #to_svg
Constructor Details
#initialize(child, bounds_offset) ⇒ Facility
Returns a new instance of Facility.
9 10 11 12 |
# File 'lib/archimate/svg/entity/facility.rb', line 9 def initialize(child, bounds_offset) super @badge = "#archimate-facility-badge" end |