Class RBase::Columns::Column
In: lib/rbase/columns.rb
Parent: Object

Base class for all column types

Methods

attach_to   column_for   column_type   new   pack   table   type   type   unpack  

Attributes

decimal  [R]  Number of decimal places
name  [R]  Column name
offset  [R]  Column offset from the beginning of the record
size  [R]  Column size in characters

Public Class methods

Returns column type class that correspond to given column type string

Assigns column type string to current class

Returns column type as 1 character string

Public Instance methods

Packs column value for storing it in XBase file.

Returns column type as 1 character string

Unpacks stored in XBase column data into appropriate Ruby form.

Protected Instance methods

[Validate]