Module: Cheveret::Table::Sizing::Sizable

Defined in:
lib/cheveret/table/sizing.rb

Overview

ClassMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#flexibleObject

Returns the value of attribute flexible.



46
47
48
# File 'lib/cheveret/table/sizing.rb', line 46

def flexible
  @flexible
end

#sizeObject



58
59
60
# File 'lib/cheveret/table/sizing.rb', line 58

def size
  @size
end

#widthObject



65
66
67
# File 'lib/cheveret/table/sizing.rb', line 65

def width
  @width
end

Instance Method Details

#flexible?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/cheveret/table/sizing.rb', line 51

def flexible?
  @flexible == true
end