Class: Rhoconnect::StoreOrm::Marshal::Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/rhoconnect/store_orm.rb

Class Method Summary collapse

Class Method Details

.dump(v) ⇒ Object



234
235
236
# File 'lib/rhoconnect/store_orm.rb', line 234

def self.dump(v)
  v.to_s
end

.load(v) ⇒ Object



238
239
240
# File 'lib/rhoconnect/store_orm.rb', line 238

def self.load(v)
  v && v.to_i
end