Sha256: 363cdd77f59856590f67d1b0943a12559f3c2a773dada8a8ce411eb6af5a6d9f
Contents?: true
Size: 389 Bytes
Versions: 52
Compression:
Stored size: 389 Bytes
Contents
module Udongo module Configs class Forms def initialize @configs = {} end def method_missing(method, *args, &block) unless @configs[method] super unless ::Form.find_by(identifier: method) @configs[method] = OpenStruct.new(datagrid_fields: [], filter_fields: []) end @configs[method] end end end end
Version data entries
52 entries across 52 versions & 1 rubygems