class Structural::Model::TypeCasts::Float

Public Class Methods

cast(value) click to toggle source
# File lib/structural/model/type_casts.rb, line 50
def self.cast(value)
  value.to_f
end
type() click to toggle source
# File lib/structural/model/type_casts.rb, line 46
def self.type
  ::Float
end