Module: DrawErd::Default

Defined in:
lib/draw_erd/default.rb

Constant Summary collapse

PATH =
'draw-erd'.freeze
TITLE =
'erd'.freeze
ATTRIBUTES =
[:foreign_keys, :content].freeze

Class Method Summary collapse

Class Method Details

.attributesObject



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

def attributes
  ATTRIBUTES
end

.optionsObject



8
9
10
# File 'lib/draw_erd/default.rb', line 8

def options
  Hash[DrawErd::Configure.keys.map{|key| [key, send(key)]}]
end

.pathObject



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

def path
  PATH
end

.titleObject



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

def title
  TITLE
end