Module: Lutaml::Formatter

Defined in:
lib/lutaml/lml/formatter.rb,
lib/lutaml/lml/formatter/base.rb,
lib/lutaml/lml/formatter/graphviz.rb,
lib/lutaml/lml/formatter/graphviz/html_builder.rb,
lib/lutaml/lml/formatter/graphviz/node_formatter.rb,
lib/lutaml/lml/formatter/graphviz/document_formatter.rb,
lib/lutaml/lml/formatter/graphviz/relationship_formatter.rb

Defined Under Namespace

Classes: Base, Graphviz

Class Method Summary collapse

Class Method Details

.allObject



6
7
8
# File 'lib/lutaml/lml/formatter/base.rb', line 6

def all
  @all ||= []
end

.find_by_name(name) ⇒ Object



10
11
12
13
# File 'lib/lutaml/lml/formatter/base.rb', line 10

def find_by_name(name)
  name = name.to_sym
  all.detect { |formatter_class| formatter_class.name == name }
end