Class: Overlap::Analysis

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_data, options = {}) ⇒ Analysis



7
8
9
10
11
# File 'lib/overlap/analysis.rb', line 7

def initialize(input_data, options={})
  @input_data = input_data
  @options = options
  build!
end

Instance Attribute Details

#intersection_quantityObject (readonly)

Returns the value of attribute intersection_quantity.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def intersection_quantity
  @intersection_quantity
end

#intersectionsObject (readonly)

Returns the value of attribute intersections.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def intersections
  @intersections
end

#quantitiesObject (readonly)

Returns the value of attribute quantities.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def quantities
  @quantities
end

#quantities_with_intersectionsObject (readonly)

Returns the value of attribute quantities_with_intersections.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def quantities_with_intersections
  @quantities_with_intersections
end

#quantityObject (readonly)

Returns the value of attribute quantity.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def quantity
  @quantity
end

#quantity_with_intersectionsObject (readonly)

Returns the value of attribute quantity_with_intersections.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def quantity_with_intersections
  @quantity_with_intersections
end

#segmentsObject (readonly)

Returns the value of attribute segments.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def segments
  @segments
end

#unionsObject (readonly)

Returns the value of attribute unions.



4
5
6
# File 'lib/overlap/analysis.rb', line 4

def unions
  @unions
end