Module: DrawUml

Defined in:
lib/draw_uml.rb,
lib/draw_uml/tree.rb,
lib/draw_uml/engine.rb,
lib/draw_uml/default.rb,
lib/draw_uml/diagram.rb,
lib/draw_uml/version.rb,
lib/draw_uml/configure.rb,
lib/draw_uml/tree/leaf.rb,
lib/draw_uml/tree/branch.rb

Defined Under Namespace

Modules: Configure, Default, Tree Classes: Diagram, Engine

Constant Summary collapse

VERSION =
'0.1.2'

Class Method Summary collapse

Class Method Details

.configObject



16
17
18
# File 'lib/draw_uml.rb', line 16

def config
  DrawUml::Configure
end

.configure {|DrawUml::Configure| ... } ⇒ Object

Yields:



12
13
14
# File 'lib/draw_uml.rb', line 12

def configure
  yield DrawUml::Configure
end

.rootObject



20
21
22
# File 'lib/draw_uml.rb', line 20

def root
  @root ||= Pathname.new(File.expand_path('..', File.dirname(__FILE__)))
end