aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/generic_attribute_pattern.rb
diff options
context:
space:
mode:
authorGuillaume2017-09-28 13:55:46 +0200
committerGuillaume2017-09-28 13:55:46 +0200
commit98bb8a1a9b763d30800ed394c3950ba93242d114 (patch)
tree805e8aa6cc750ef74aaabd90d471f9b25f2e4cff /app/models/generic_attribute_pattern.rb
parent2867f7b992ea38934f69e86dd8d6dc9cc95b0afe (diff)
parent689a8f7c89ea0841fee1e2da97dacf98ff458104 (diff)
downloadchouette-core-98bb8a1a9b763d30800ed394c3950ba93242d114.tar.bz2
Merge branch 'master' into 4466-compliance_check_sets
Diffstat (limited to 'app/models/generic_attribute_pattern.rb')
-rw-r--r--app/models/generic_attribute_pattern.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/models/generic_attribute_pattern.rb b/app/models/generic_attribute_pattern.rb
deleted file mode 100644
index 0043f1563..000000000
--- a/app/models/generic_attribute_pattern.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-#module ComplianceControls
-
- class GenericAttributePattern < ComplianceControl
-
- hstore_accessor :control_attributes, value: :string, pattern: :string
-
- @@default_criticity = :warning
- @@default_code = "3-Generic-3"
-
- validate :pattern_match
- def pattern_match
- true
- end
-
- after_initialize do
- self.name = 'GenericAttributeMinMax'
- self.code = @@default_code
- self.criticity = @@default_criticity
- end
-
- end
-
-#end \ No newline at end of file