Sha256: 3f6a19e36d8e2de91774e13f7215e898d2689698fc881006a75d8d6384194445
Contents?: true
Size: 283 Bytes
Versions: 4
Compression:
Stored size: 283 Bytes
Contents
module LensProtocol module OMA module Type class Integer < Base def parse_value value Integer(value) rescue Float(value).round rescue nil end def format_value value value.round if value end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems