Class: Sic1987
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Sic1987
- Defined in:
- lib/earth/industry/sic_1987.rb
Class Method Summary collapse
-
.format_description(description) ⇒ Object
for data import.
Class Method Details
.format_description(description) ⇒ Object
for data import
9 10 11 |
# File 'lib/earth/industry/sic_1987.rb', line 9 def self.format_description(description) (desc = description.match /^(.+?) \(/) ? desc.captures.first : description end |