Sha256: 8724448c3fe335a722da0f166c366a3a3919780de2055097430b5df5023cd1b5

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

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

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

      def path
        PATH
      end

      def title
        TITLE
      end

      def attributes
        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/default.rb
draw_erd-0.3.0 lib/draw_erd/default.rb
draw_erd-0.2.0 lib/draw_erd/default.rb