Sha256: 2988b88ad052c9645baceaa997f5b1fc9fc31c877574de3e9e9798a1d9001326
Contents?: true
Size: 309 Bytes
Versions: 4
Compression:
Stored size: 309 Bytes
Contents
module Kanade module Converter class Fixnum < Base Engine.register_converter!(self) def serialize(term, _) return nil if term.nil? term.to_i end def deserialize(term, _) return nil if term.nil? term.to_i end end end end
Version data entries
4 entries across 4 versions & 1 rubygems