Class: RightAws::ActiveSdb::IntegerSerialization

Inherits:
Object
  • Object
show all
Defined in:
lib/sdb/active_sdb.rb

Class Method Summary collapse

Class Method Details

.deserialize(string) ⇒ Object



1100
1101
1102
# File 'lib/sdb/active_sdb.rb', line 1100

def deserialize(string)
  string.to_i
end

.serialize(int) ⇒ Object



1096
1097
1098
# File 'lib/sdb/active_sdb.rb', line 1096

def serialize(int)
  int.to_s
end