Class: Rhoconnect::StoreOrm::Marshal::Float
- Inherits:
-
Object
- Object
- Rhoconnect::StoreOrm::Marshal::Float
- Defined in:
- lib/rhoconnect/store_orm.rb
Class Method Summary collapse
Class Method Details
.dump(v) ⇒ Object
244 245 246 |
# File 'lib/rhoconnect/store_orm.rb', line 244 def self.dump(v) v.to_s end |
.load(v) ⇒ Object
248 249 250 |
# File 'lib/rhoconnect/store_orm.rb', line 248 def self.load(v) v && v.to_f end |