Sha256: 76d5c7e24bb23ee230127cb7e9134f29e2b6ca6f4c362bf855f58562e625b7d5
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
module DrawErd module Configure class << self attr_accessor :path, :title, :attributes def setup keys.each do |key| instance_variable_set(:"@#{key}", DrawErd::Default.send(key)) end end def keys @keys ||= %i[path title attributes] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
draw_erd-0.4.0 | lib/draw_erd/configure.rb |
draw_erd-0.3.0 | lib/draw_erd/configure.rb |
draw_erd-0.2.0 | lib/draw_erd/configure.rb |