Class: HappyMapperTools::Benchmark::Ident
- Includes:
- HappyMapper
- Defined in:
- lib/happy_mapper_tools/benchmark.rb
Overview
Class Ident maps from the ‘ident’ from Benchmark XML file using HappyMapper
Instance Method Summary collapse
-
#initialize(ident_str) ⇒ Ident
constructor
A new instance of Ident.
Constructor Details
#initialize(ident_str) ⇒ Ident
Returns a new instance of Ident.
68 69 70 71 72 73 74 75 |
# File 'lib/happy_mapper_tools/benchmark.rb', line 68 def initialize(ident_str) @ident = ident_str if ident_str =~ /^(CCI-[0-9]{6})$/ @system = 'http://cyber.mil/cci' else @system = 'http://cyber.mil/legacy' end end |