Class: Kirico::CompanyCount
- Inherits:
-
Object
- Object
- Kirico::CompanyCount
- Defined in:
- lib/kirico/models/company_count.rb
Constant Summary collapse
- COUNT =
'001'
Instance Method Summary collapse
-
#initialize ⇒ CompanyCount
constructor
A new instance of CompanyCount.
- #to_csv ⇒ Object
Constructor Details
#initialize ⇒ CompanyCount
Returns a new instance of CompanyCount.
10 11 12 |
# File 'lib/kirico/models/company_count.rb', line 10 def initialize super end |
Instance Method Details
#to_csv ⇒ Object
14 15 16 |
# File 'lib/kirico/models/company_count.rb', line 14 def to_csv [nil, COUNT].map { |attr| attr.to_s.encode('Shift_JIS') }.join(',') end |