Class: Boxbot::Compute::TabWidthResult
- Inherits:
-
Struct
- Object
- Struct
- Boxbot::Compute::TabWidthResult
- Defined in:
- lib/boxbot/compute/tab_calculator.rb
Overview
Holds the result of Tab Width Computation.
Instance Attribute Summary collapse
-
#dimension ⇒ String
name.
-
#length ⇒ Float
the length of the dimension.
-
#tab_count ⇒ Integer
the total number of tabs along this dimension.
-
#tab_width ⇒ Float
length of each tab without the kerf adjustment.
Instance Attribute Details
#dimension ⇒ String
name
15 16 17 |
# File 'lib/boxbot/compute/tab_calculator.rb', line 15 def dimension @dimension end |
#length ⇒ Float
the length of the dimension
15 16 17 |
# File 'lib/boxbot/compute/tab_calculator.rb', line 15 def length @length end |
#tab_count ⇒ Integer
the total number of tabs along this dimension
15 16 17 |
# File 'lib/boxbot/compute/tab_calculator.rb', line 15 def tab_count @tab_count end |
#tab_width ⇒ Float
length of each tab without the kerf adjustment
15 16 17 |
# File 'lib/boxbot/compute/tab_calculator.rb', line 15 def tab_width @tab_width end |