Sha256: 2b6cafbf7cf664dbb0f3355cb7fc4951fcf26d879c76f13126c2923e5e456164
Contents?: true
Size: 220 Bytes
Versions: 5
Compression:
Stored size: 220 Bytes
Contents
class Employee::Collection < RecordCollection::Base attribute :section attribute :admin, type: Boolean attribute :vegan, type: Boolean validates :section, format: {with: /\A\w{3}\Z/, if: 'section.present?' } end
Version data entries
5 entries across 5 versions & 1 rubygems