Class: Naics2002Naics2007Concordance
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Naics2002Naics2007Concordance
- Defined in:
- lib/earth/industry/naics_2002_naics_2007_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_naics_2007_concordance.rb', line 8 def self.extract_note(description) (note = description.match(/ - (.+)/)) ? note.captures.first : nil end |