class Measured::CycleDetected

Attributes

unit[R]

Public Class Methods

new(unit) click to toggle source
Calls superclass method
# File lib/measured/cycle_detected.rb, line 6
def initialize(unit)
  super("The following conversion introduces cycles in the unit system: #{unit}. Remove the conversion or fix the cycle.")
  @unit = unit
end