Module: Archimate::FileFormats::Sax::Archi::Style
- Included in:
- Connection, ViewNode
- Defined in:
- lib/archimate/file_formats/sax/archi/style.rb
Instance Method Summary collapse
Instance Method Details
#initialize(name, attrs, parent_handler) ⇒ Object
8 9 10 11 |
# File 'lib/archimate/file_formats/sax/archi/style.rb', line 8 def initialize(name, attrs, parent_handler) super @style_hash = nil end |
#style ⇒ Object
13 14 15 16 |
# File 'lib/archimate/file_formats/sax/archi/style.rb', line 13 def style return nil if style_hash.empty? DataModel::Style.new(style_hash) end |