Class: Math::AbstractSpace
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#num_dimensions ⇒ Object
readonly
Returns the value of attribute num_dimensions.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(space_type, symbol, num_dimensions) ⇒ AbstractSpace
constructor
A new instance of AbstractSpace.
Constructor Details
#initialize(space_type, symbol, num_dimensions) ⇒ AbstractSpace
Returns a new instance of AbstractSpace.
13 14 15 16 17 18 19 20 |
# File 'lib/ruuuby/math/space/space.rb', line 13 def initialize(space_type, symbol, num_dimensions) |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/ruuuby/math/space/space.rb', line 8 def name @name end |
#num_dimensions ⇒ Object (readonly)
Returns the value of attribute num_dimensions.
8 9 10 |
# File 'lib/ruuuby/math/space/space.rb', line 8 def num_dimensions @num_dimensions end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
8 9 10 |
# File 'lib/ruuuby/math/space/space.rb', line 8 def symbol @symbol end |