Class: Naics2002Sic1987Concordance
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Naics2002Sic1987Concordance
- Defined in:
- lib/earth/industry/naics_2002_sic_1987_concordance.rb
Class Method Summary collapse
-
.extract_note(description) ⇒ Object
for data import.
Class Method Details
.extract_note(description) ⇒ Object
for data import
8 9 10 |
# File 'lib/earth/industry/naics_2002_sic_1987_concordance.rb', line 8 def self.extract_note(description) (note = description.match /.+?\((.+)\)/) ? note.captures.first : nil end |