Sha256: 521cf192728b7ea5425555db6557d31c34e9a6f1fc4f425a68c082e0ce06e2b4
Contents?: true
Size: 531 Bytes
Versions: 6
Compression:
Stored size: 531 Bytes
Contents
module Paradocs # Field DSL # host instance must implement: # #meta(options Hash) # #policy(key Symbol) self # module FieldDSL def required policy :required end def present required.policy :present end def declared policy :declared end def options(opts) policy :options, opts end def whitelisted policy :whitelisted end def transparent meta transparent: true end def length(opts) policy :length, opts end end end
Version data entries
6 entries across 6 versions & 1 rubygems