blob: 7fc008e28f7e97590a4853c2875158847b6aceeb (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
 | module GenericAttributeControl
  class Pattern < ComplianceControl
    store_accessor :control_attributes, :pattern, :target
    validates :target, presence: true
    validates :pattern, presence: true
    class << self
      def attribute_type; :string end
      def default_code; "3-Generic-1" end
    end
  end
end
 |