Class: Codabel::Type::AccountDescription

Inherits:
Codabel::Type show all
Defined in:
lib/codabel/type/account_description.rb

Instance Method Summary collapse

Methods inherited from Codabel::Type

#check!

Instance Method Details

#to_coda(value, length) ⇒ Object



4
5
6
7
# File 'lib/codabel/type/account_description.rb', line 4

def to_coda(value, length)
  description = Model::Account.dress(value).description
  description.to_s.ljust(length, ' ')
end