Method: GsdSphere#initialize
- Defined in:
- lib/mddb/sphere.rb
#initialize(points) ⇒ GsdSphere
Returns a new instance of GsdSphere.
2 3 4 5 |
# File 'lib/mddb/sphere.rb', line 2 def initialize(points) @nodes = [] self.create points end |