Class: Clumpy::Cluster

Inherits:
Object
  • Object
show all
Includes:
ClusterBehavior
Defined in:
lib/clumpy/cluster.rb

Instance Attribute Summary

Attributes included from ClusterBehavior

#bounds, #latitude, #longitude, #points

Instance Method Summary collapse

Methods included from ClusterBehavior

#as_json, #contains?, #initialize, #reposition, #value_list

Instance Method Details

#to_sObject



5
6
7
# File 'lib/clumpy/cluster.rb', line 5

def to_s
  "Clumpy::Cluster(latitude: #{latitude}, longitude: #{longitude}, # size: #{points.size})"
end