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