Class: Naics2002Sic1987Concordance

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/earth/industry/naics_2002_sic_1987_concordance.rb

Class Method Summary collapse

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