5 6 7
# File 'lib/barometer/data/attributes/pressure.rb', line 5 def coerce(value) value.is_a?(Barometer::Data::Pressure) ? value : Barometer::Data::Pressure.new(*value) end