Class: Codabel::Type::AccountDescription
- Inherits:
-
Codabel::Type
- Object
- Codabel::Type
- Codabel::Type::AccountDescription
- Defined in:
- lib/codabel/type/account_description.rb
Instance Method Summary collapse
Methods inherited from Codabel::Type
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 |