Sha256: 0fb964c26f2445655f46b5a6e87bb056e192cffbd539659fb94fb9a31d13dab8
Contents?: true
Size: 206 Bytes
Versions: 12
Compression:
Stored size: 206 Bytes
Contents
# frozen_string_literal: true module Attribeauty module Types # custom float type class Float def cast(value) return if value.nil? Float(value) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems