Class: Naics2002Naics2007Concordance

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/earth/industry/naics_2002_naics_2007_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_naics_2007_concordance.rb', line 8

def self.extract_note(description)
  (note = description.match(/ - (.+)/)) ? note.captures.first : nil
end