Class: RClusters::ScreenDistance
- Defined in:
- lib/rclusters/screen_distance.rb
Constant Summary collapse
- ZOOM =
12
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ScreenDistance
constructor
A new instance of ScreenDistance.
Methods inherited from Base
Constructor Details
#initialize(opts = {}) ⇒ ScreenDistance
Returns a new instance of ScreenDistance.
7 8 9 10 |
# File 'lib/rclusters/screen_distance.rb', line 7 def initialize(opts = {}) super @zoom = opts[:zoom] || ZOOM end |