class Attributary::Types::IntegerType
Public Class Methods
cast_to(value)
click to toggle source
# File lib/attributary/types/integer_type.rb, line 4 def self.cast_to(value) value.to_i end
# File lib/attributary/types/integer_type.rb, line 4 def self.cast_to(value) value.to_i end