module DrawErd::Configure
Attributes
attributes[RW]
path[RW]
title[RW]
Public Class Methods
keys()
click to toggle source
# File lib/draw_erd/configure.rb, line 12 def keys @keys ||= %i[path title attributes] end
setup()
click to toggle source
# File lib/draw_erd/configure.rb, line 6 def setup keys.each do |key| instance_variable_set(:"@#{key}", DrawErd::Default.send(key)) end end