Class: Pulo::Pressure

Inherits:
Object
  • Object
show all
Defined in:
lib/pulo/quantity/quantity_definitions/force_power.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.psig(val) ⇒ Object



73
74
75
# File 'lib/pulo/quantity/quantity_definitions/force_power.rb', line 73

def psig(val)
  self.psia(val+14.7)
end

Instance Method Details

#psigObject



77
78
79
# File 'lib/pulo/quantity/quantity_definitions/force_power.rb', line 77

def psig
  self.class.new(self.psia.value-14.7,:pounds_per_square_inch_gauge)
end