Returns the value of attribute endpoints.
6 7 8
# File 'lib/mageo/segment.rb', line 6 def endpoints @endpoints end