Class: Rlocu::Bounds

Inherits:
Object
  • Object
show all
Defined in:
lib/utilities.rb

Instance Method Summary collapse

Constructor Details

#initialize(loc1, loc2) ⇒ Bounds

Returns a new instance of Bounds.



29
30
31
32
# File 'lib/utilities.rb', line 29

def initialize(loc1, loc2)
  @loc1 = loc1
  @loc2 = loc2
end

Instance Method Details

#to_sObject



34
35
36
# File 'lib/utilities.rb', line 34

def to_s
  "#{@loc1.to_s}|#{@loc2.to_s}"
end