Class: Lutaml::Formatter::Graphviz::Attributes
- Inherits:
-
Hash
- Object
- Hash
- Lutaml::Formatter::Graphviz::Attributes
- Defined in:
- lib/lutaml/formatter/graphviz.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
11 12 13 14 15 16 |
# File 'lib/lutaml/formatter/graphviz.rb', line 11 def to_s to_a .reject { |(_k, val)| val.nil? } .map { |(a, b)| "#{a}=#{b.inspect}" } .join(" ") end |