Module: DrawUml::Default
- Defined in:
- lib/draw_uml/default.rb
Constant Summary collapse
- DIAGRAM_EXTENSION =
'uml'.freeze
- DIAGRAM_PATH =
'doc/diagrams'.freeze
- STATIC_PATH =
'public'.freeze
- IMAGE_PATH =
'/images/draw-uml'.freeze
Class Method Summary collapse
- .diagram_extension ⇒ Object
- .diagram_path ⇒ Object
- .image_path ⇒ Object
- .options ⇒ Object
- .static_path ⇒ Object
Class Method Details
.diagram_extension ⇒ Object
13 14 15 |
# File 'lib/draw_uml/default.rb', line 13 def diagram_extension DIAGRAM_EXTENSION end |
.diagram_path ⇒ Object
17 18 19 |
# File 'lib/draw_uml/default.rb', line 17 def diagram_path DIAGRAM_PATH end |
.image_path ⇒ Object
25 26 27 |
# File 'lib/draw_uml/default.rb', line 25 def image_path IMAGE_PATH end |
.options ⇒ Object
9 10 11 |
# File 'lib/draw_uml/default.rb', line 9 def Hash[DrawUml::Configure.keys.map{|key| [key, send(key)]}] end |
.static_path ⇒ Object
21 22 23 |
# File 'lib/draw_uml/default.rb', line 21 def static_path STATIC_PATH end |