Sha256: d281b0d71ead02db2263ac415beaa7d480d8844563b5d387376895b739e485b1

Contents?: true

Size: 148 Bytes

Versions: 2

Compression:

Stored size: 148 Bytes

Contents

class Numeric
  def amperes
    Ampere.new(self.to_f)
  end

  def ohms
    Ohm.new(self.to_f)
  end

  def volts
    Volt.new(self.to_f)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
strom-0.0.2 lib/strom/numeric.rb
strom-0.0.1 lib/strom/numeric.rb