Class: YNelson::DimensionPoint
- Inherits:
-
Object
- Object
- YNelson::DimensionPoint
- Defined in:
- lib/y_nelson/dimension_point.rb
Overview
A pointer to a zz dimension.
Instance Attribute Summary collapse
-
#dimension ⇒ Object
Returns the value of attribute dimension.
Instance Method Summary collapse
- #default_dimension ⇒ Object
-
#initialize(dimension) ⇒ DimensionPoint
constructor
A new instance of DimensionPoint.
Constructor Details
#initialize(dimension) ⇒ DimensionPoint
Returns a new instance of DimensionPoint.
8 9 10 |
# File 'lib/y_nelson/dimension_point.rb', line 8 def initialize dimension @dimension = dimension end |
Instance Attribute Details
#dimension ⇒ Object
Returns the value of attribute dimension.
6 7 8 |
# File 'lib/y_nelson/dimension_point.rb', line 6 def dimension @dimension end |
Instance Method Details
#default_dimension ⇒ Object
12 13 14 |
# File 'lib/y_nelson/dimension_point.rb', line 12 def default_dimension YNelson.default_dimension end |