diff options
| author | Robert | 2017-09-27 18:43:01 +0200 |
|---|---|---|
| committer | Robert | 2017-09-27 18:43:01 +0200 |
| commit | 55779bdf1737eea5e5ae79bacfebabbc249643af (patch) | |
| tree | 42f0803a9bdba979cb92e0b8d57396d752fdd159 /app/models/generic_attribute_pattern.rb | |
| parent | 76b7282eee5be4c5963ae949bae503501cfc8e28 (diff) | |
| parent | 28a352d2c4cba71c796a3504513e0664cec92cb5 (diff) | |
| download | chouette-core-55779bdf1737eea5e5ae79bacfebabbc249643af.tar.bz2 | |
Merge branch 'master' of github.com:af83/stif-boiv
Diffstat (limited to 'app/models/generic_attribute_pattern.rb')
| -rw-r--r-- | app/models/generic_attribute_pattern.rb | 23 |
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 |
