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

#align ⇒ Object

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

#hidden ⇒ Object

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

#index ⇒ Object

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

#name ⇒ Object

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

#offset ⇒ Object

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

#width ⇒ Object

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