Module: RubyToUML::NomnomlDSLGenerator

Defined in:
lib/ruby_to_uml/nomnoml_dsl_generator.rb

Defined Under Namespace

Classes: NomnomlDSL

Class Method Summary collapse

Class Method Details

.generate_dsl(uml_info) ⇒ Object



3
4
5
6
7
8
# File 'lib/ruby_to_uml/nomnoml_dsl_generator.rb', line 3

def self.generate_dsl(uml_info)
  classes = create_class_dsl(uml_info.classes)
  modules = create_modules_dsl(uml_info.modules)
  relationships = create_relationships_dsl(uml_info.relationships)
  NomnomlDSL.new(style, classes, modules, relationships)
end