Sha256: a5e8f1f47f65ecff41b4507b5ac7c710a43827584b5e4fac561fe6049ee23407
Contents?: true
Size: 290 Bytes
Versions: 77
Compression:
Stored size: 290 Bytes
Contents
module Scrivito module GeneratorHelper class << self def attribute_definition(arg) if %w(enum multienum).include?(arg.type.to_s) "attribute :#{arg.name}, :#{arg.type}, values: []" else "attribute :#{arg.name}, :#{arg.type}" end end end end end
Version data entries
77 entries across 77 versions & 1 rubygems