Sha256: 569e84c66796c619e9c3f42a84b288ec56525bab19c876eabf0bb445b0755f1a
Contents?: true
Size: 98 Bytes
Versions: 2
Compression:
Stored size: 98 Bytes
Contents
module Arstotzka::TypeCast def to_money_float(value) value.gsub(/\$ */, '').to_f end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arstotzka-1.0.1 | spec/support/models/arstotzka/type_cast.rb |
arstotzka-1.0.0 | spec/support/models/arstotzka/type_cast.rb |