Sha256: ed778082624f8e0a5274e57f595128ecd537256509a89f5f5d514894aaba08d1
Contents?: true
Size: 416 Bytes
Versions: 10
Compression:
Stored size: 416 Bytes
Contents
module Faalis module Generators module Concerns # Adds `required` key to `fields`. Fields with this key as true will # be non optional fields module RequireFields private def required_fields # Returnes an array contains name of all fields with require = true fields_with('required', true).collect {|x| x['name']} end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems