Class: MoreMath::Histogram::Bin

Inherits:
Struct
  • Object
show all
Defined in:
lib/more_math/histogram.rb

Instance Attribute Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



6
7
8
# File 'lib/more_math/histogram.rb', line 6

def count
  @count
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



6
7
8
# File 'lib/more_math/histogram.rb', line 6

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



6
7
8
# File 'lib/more_math/histogram.rb', line 6

def right
  @right
end