Class: RailsPulse::Charts::OperationsChart::OperationBar

Inherits:
Struct
  • Object
show all
Defined in:
app/models/rails_pulse/charts/operations_chart.rb

Instance Attribute Summary collapse

Instance Attribute Details

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



4
5
6
# File 'app/models/rails_pulse/charts/operations_chart.rb', line 4

def duration
  @duration
end

#left_pctObject

Returns the value of attribute left_pct

Returns:

  • (Object)

    the current value of left_pct



4
5
6
# File 'app/models/rails_pulse/charts/operations_chart.rb', line 4

def left_pct
  @left_pct
end

#operationObject

Returns the value of attribute operation

Returns:

  • (Object)

    the current value of operation



4
5
6
# File 'app/models/rails_pulse/charts/operations_chart.rb', line 4

def operation
  @operation
end

#width_pctObject

Returns the value of attribute width_pct

Returns:

  • (Object)

    the current value of width_pct



4
5
6
# File 'app/models/rails_pulse/charts/operations_chart.rb', line 4

def width_pct
  @width_pct
end