Class: Kirico::CompanyCount

Inherits:
Object
  • Object
show all
Defined in:
lib/kirico/models/company_count.rb

Constant Summary collapse

COUNT =
'001'

Instance Method Summary collapse

Constructor Details

#initializeCompanyCount

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_csvObject



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