Class: Umbra::Tabular::ColumnInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/umbra/tabular.rb

Overview

stores column info internally: name, width and alignment

Instance Attribute Summary collapse

Instance Attribute Details

#alignObject

Returns the value of attribute align

Returns:

  • (Object)

    the current value of align



45
46
47
# File 'lib/umbra/tabular.rb', line 45

def align
  @align
end

#hiddenObject

Returns the value of attribute hidden

Returns:

  • (Object)

    the current value of hidden



45
46
47
# File 'lib/umbra/tabular.rb', line 45

def hidden
  @hidden
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



45
46
47
# File 'lib/umbra/tabular.rb', line 45

def index
  @index
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



45
46
47
# File 'lib/umbra/tabular.rb', line 45

def name
  @name
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



45
46
47
# File 'lib/umbra/tabular.rb', line 45

def offset
  @offset
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



45
46
47
# File 'lib/umbra/tabular.rb', line 45

def width
  @width
end