Sha256: 77a26096a0fb7744959c917d9f942037785b0de42e39beb63727e64be15289b3
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
module Ahnnotate class Index attr_accessor :name attr_accessor :columns attr_accessor :comment attr_accessor :unique def initialize(**args) args.each do |key, value| public_send("#{key}=", value) end end def presentable_columns "(#{columns.join(", ")})" end def presentable_unique if unique "UNIQUE" else "" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems