Class: VectorSpace::DimensionReflection
- Inherits:
-
ComponentReflection
- Object
- ComponentReflection
- VectorSpace::DimensionReflection
- Defined in:
- lib/vector_space/dimension_reflection.rb
Instance Attribute Summary
Attributes inherited from ComponentReflection
Instance Method Summary collapse
Methods inherited from ComponentReflection
#getter, #initialize, #to_s, #value
Constructor Details
This class inherits a constructor from VectorSpace::ComponentReflection
Instance Method Details
#default ⇒ Object
7 8 9 |
# File 'lib/vector_space/dimension_reflection.rb', line 7 def default zero end |
#zero ⇒ Object
3 4 5 |
# File 'lib/vector_space/dimension_reflection.rb', line 3 def zero @options[:zero] || 0 end |