Class: Dimensional::Configurator::Context
- Inherits:
-
Struct
- Object
- Struct
- Dimensional::Configurator::Context
- Defined in:
- lib/dimensional/configurator.rb
Overview
A simple container for holding a context for definition, parsing and formatting of dimensional data
Instance Attribute Summary collapse
-
#dimension ⇒ Object
Returns the value of attribute dimension.
-
#system ⇒ Object
Returns the value of attribute system.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Method Summary collapse
Instance Attribute Details
#dimension ⇒ Object
Returns the value of attribute dimension
12 13 14 |
# File 'lib/dimensional/configurator.rb', line 12 def dimension @dimension end |
#system ⇒ Object
Returns the value of attribute system
12 13 14 |
# File 'lib/dimensional/configurator.rb', line 12 def system @system end |
#unit ⇒ Object
Returns the value of attribute unit
12 13 14 |
# File 'lib/dimensional/configurator.rb', line 12 def unit @unit end |
Instance Method Details
#valid? ⇒ Boolean
13 14 15 |
# File 'lib/dimensional/configurator.rb', line 13 def valid? true end |