Method: Coconductor::Field.all
- Defined in:
- lib/coconductor/field.rb
.all ⇒ Object
Returns all fields accross all vendored codes of conduct
37 38 39 |
# File 'lib/coconductor/field.rb', line 37 def all @all ||= CodeOfConduct.latest.map(&:fields).flatten.uniq(&:key) end |